Changeset View
Changeset View
Standalone View
Standalone View
intern/libmv/bundle.sh
| Show First 20 Lines • Show All 89 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) 2011, Blender Foundation | # The Original Code is Copyright (C) 2011, 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 | ||||
| . | . | ||||
| ) | ) | ||||
| set(INC_SYS | set(INC_SYS | ||||
| ) | ) | ||||
| set(SRC | set(SRC | ||||
| libmv-capi.h | libmv-capi.h | ||||
| ) | ) | ||||
| set(LIB | |||||
| extern_ceres | |||||
| extern_glog | |||||
| ) | |||||
| if(WITH_LIBMV) | if(WITH_LIBMV) | ||||
| add_definitions(\${GFLAGS_DEFINES}) | add_definitions(\${GFLAGS_DEFINES}) | ||||
| add_definitions(\${GLOG_DEFINES}) | add_definitions(\${GLOG_DEFINES}) | ||||
| add_definitions(\${CERES_DEFINES}) | add_definitions(\${CERES_DEFINES}) | ||||
| add_definitions(-DLIBMV_GFLAGS_NAMESPACE=\${GFLAGS_NAMESPACE}) | add_definitions(-DLIBMV_GFLAGS_NAMESPACE=\${GFLAGS_NAMESPACE}) | ||||
| list(APPEND INC | list(APPEND INC | ||||
| \${GFLAGS_INCLUDE_DIRS} | \${GFLAGS_INCLUDE_DIRS} | ||||
| ▲ Show 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | |||||
| ${tests} | ${tests} | ||||
| endif() | endif() | ||||
| else() | else() | ||||
| list(APPEND SRC | list(APPEND SRC | ||||
| intern/stub.cc | intern/stub.cc | ||||
| ) | ) | ||||
| endif() | endif() | ||||
| blender_add_lib(bf_intern_libmv "\${SRC}" "\${INC}" "\${INC_SYS}" "") | blender_add_lib(bf_intern_libmv "\${SRC}" "\${INC}" "\${INC_SYS}" "\${LIB}") | ||||
| EOF | EOF | ||||