stuff-from-scratch/plugins/math/CMakeLists.txt

12 lines
466 B
CMake
Raw Normal View History

set(PLUGIN_NAME ntk_math)
list(APPEND math_HEADERS ComplexNumber.h)
list(APPEND math_LIB_INCLUDES ComplexNumber.cpp)
add_library(${PLUGIN_NAME} SHARED ${math_LIB_INCLUDES} ${math_HEADERS})
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)
set_target_properties( ${PLUGIN_NAME} PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON )