mirror of https://github.com/axmolengine/axmol.git
16 lines
309 B
CMake
16 lines
309 B
CMake
|
|
set(lib_name bullet)
|
|
set(target_name ${lib_name})
|
|
|
|
project(${lib_name})
|
|
|
|
add_library(${target_name} STATIC
|
|
btBulletCollisionAll.cpp
|
|
btBulletDynamicsAll.cpp
|
|
btLinearMathAll.cpp
|
|
)
|
|
|
|
target_include_directories(${target_name} PUBLIC .)
|
|
|
|
target_compile_definitions(${target_name} PUBLIC BT_USE_SSE_IN_API=1)
|