16 lines
441 B
CMake
16 lines
441 B
CMake
|
set(PLUGIN_NAME physics_simulation)
|
||
|
|
||
|
list(APPEND client_HEADERS
|
||
|
FiniteElementSolver.h)
|
||
|
|
||
|
list(APPEND client_LIB_INCLUDES
|
||
|
FiniteElementSolver.cpp)
|
||
|
|
||
|
add_library(${PLUGIN_NAME} SHARED ${client_LIB_INCLUDES})
|
||
|
|
||
|
target_include_directories(${PLUGIN_NAME} PUBLIC
|
||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||
|
)
|
||
|
target_link_libraries(${PLUGIN_NAME} PUBLIC core)
|
||
|
set_property(TARGET ${PLUGIN_NAME} PROPERTY FOLDER plugins)
|