Changeset View
Changeset View
Standalone View
Standalone View
source/blender/bmesh/CMakeLists.txt
| Show First 20 Lines • Show All 158 Lines • ▼ Show 20 Lines | set(SRC | ||||
| bmesh_class.h | bmesh_class.h | ||||
| # public includes | # public includes | ||||
| bmesh.h | bmesh.h | ||||
| bmesh_tools.h | bmesh_tools.h | ||||
| ) | ) | ||||
| set(LIB | set(LIB | ||||
| extern_rangetree | |||||
| ) | ) | ||||
| if(MSVC AND NOT MSVC_CLANG) | if(MSVC AND NOT MSVC_CLANG) | ||||
| set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX /wd4101") | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX /wd4101") | ||||
| endif() | endif() | ||||
| if(WITH_BULLET) | if(WITH_BULLET) | ||||
| add_definitions(-DWITH_BULLET) | |||||
| list(APPEND INC_SYS | list(APPEND INC_SYS | ||||
| ${BULLET_INCLUDE_DIRS} | ${BULLET_INCLUDE_DIRS} | ||||
| ) | ) | ||||
| list(APPEND LIB | |||||
| extern_bullet | |||||
| ) | |||||
| add_definitions(-DWITH_BULLET) | |||||
| endif() | endif() | ||||
| if(WITH_INTERNATIONAL) | if(WITH_INTERNATIONAL) | ||||
| add_definitions(-DWITH_INTERNATIONAL) | add_definitions(-DWITH_INTERNATIONAL) | ||||
| endif() | endif() | ||||
| if(WITH_FREESTYLE) | if(WITH_FREESTYLE) | ||||
| add_definitions(-DWITH_FREESTYLE) | add_definitions(-DWITH_FREESTYLE) | ||||
| endif() | endif() | ||||
| blender_add_lib(bf_bmesh "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") | blender_add_lib(bf_bmesh "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") | ||||