Files
create/src/Mod/Path/PathSimulator/App/CMakeLists.txt
2017-10-31 11:10:23 -02:00

35 lines
766 B
CMake

include_directories(
${Boost_INCLUDE_DIRS}
${OCC_INCLUDE_DIR}
${PYTHON_INCLUDE_DIRS}
${ZLIB_INCLUDE_DIR}
${XercesC_INCLUDE_DIRS}
)
set(PathSimulator_LIBS
FreeCADApp
)
SET(PathSimulator_SRCS
AppPathSimulator.cpp
PathSimulator.cpp
PathSimulator.h
PreCompiled.cpp
PreCompiled.h
)
add_library(PathSimulator SHARED ${PathSimulator_SRCS})
target_link_libraries(PathSimulator ${PathSimulator_LIBS})
fc_target_copy_resource(PathSimulator
${CMAKE_SOURCE_DIR}/src/Mod/Path/PathSimulator
${CMAKE_BINARY_DIR}/Mod/Path/PathSimulator
Init.py)
SET_BIN_DIR(PathSimulator PathSimulator /Mod/Path/PathSimulator)
SET_PYTHON_PREFIX_SUFFIX(PathSimulator)
install(TARGETS PathSimulator DESTINATION ${CMAKE_INSTALL_LIBDIR})