Changeset View
Changeset View
Standalone View
Standalone View
extern/ceres/bundle.sh
| Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | |||||
| # GNU General Public License for more details. | # GNU General Public License for more details. | ||||
| # | # | ||||
| # You should have received a copy of the GNU General Public License | # You should have received a copy of the GNU General Public License | ||||
| # along with this program; if not, write to the Free Software Foundation, | # along with this program; if not, write to the Free Software Foundation, | ||||
| # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| # | # | ||||
| # The Original Code is Copyright (C) 2012, Blender Foundation | # The Original Code is Copyright (C) 2012, Blender Foundation | ||||
| # All rights reserved. | # All rights reserved. | ||||
| # | |||||
| # Contributor(s): Blender Foundation, | |||||
| # Sergey Sharybin | |||||
| # | |||||
| # ***** END GPL LICENSE BLOCK ***** | # ***** END GPL LICENSE BLOCK ***** | ||||
| # NOTE: This file is automatically generated by bundle.sh script | # NOTE: This file is automatically generated by bundle.sh script | ||||
| # If you're doing changes in this file, please update template | # If you're doing changes in this file, please update template | ||||
| # in that script too | # in that script too | ||||
| set(INC | set(INC | ||||
| . | . | ||||
| Show All 10 Lines | |||||
| ) | ) | ||||
| set(SRC | set(SRC | ||||
| ${sources} | ${sources} | ||||
| ${headers} | ${headers} | ||||
| ) | ) | ||||
| set(LIB | |||||
| extern_glog | |||||
| ) | |||||
| if(WITH_LIBMV_SCHUR_SPECIALIZATIONS) | if(WITH_LIBMV_SCHUR_SPECIALIZATIONS) | ||||
| list(APPEND SRC | list(APPEND SRC | ||||
| ${generated_sources} | ${generated_sources} | ||||
| ) | ) | ||||
| else() | else() | ||||
| add_definitions(-DCERES_RESTRICT_SCHUR_SPECIALIZATION) | add_definitions(-DCERES_RESTRICT_SCHUR_SPECIALIZATION) | ||||
| endif() | endif() | ||||
| Show All 10 Lines | |||||
| ) | ) | ||||
| if(WITH_OPENMP) | if(WITH_OPENMP) | ||||
| add_definitions( | add_definitions( | ||||
| -DCERES_USE_OPENMP | -DCERES_USE_OPENMP | ||||
| ) | ) | ||||
| endif() | endif() | ||||
| blender_add_lib(extern_ceres "\${SRC}" "\${INC}" "\${INC_SYS}" "") | blender_add_lib(extern_ceres "\${SRC}" "\${INC}" "\${INC_SYS}" "\${LIB}") | ||||
| EOF | EOF | ||||