15 lines
696 B
CMake
15 lines
696 B
CMake
include_directories(
|
|
${Platform_SOURCE_DIR}/src/common
|
|
${Platform_SOURCE_DIR}/src/main
|
|
${Python3_INCLUDE_DIRS}
|
|
${Platform_SOURCE_DIR}/lib/Files
|
|
${Platform_SOURCE_DIR}/lib/mdlp/src
|
|
${Platform_SOURCE_DIR}/lib/argparse/include
|
|
${Platform_SOURCE_DIR}/lib/folding
|
|
${Platform_SOURCE_DIR}/lib/json/include
|
|
${CMAKE_BINARY_DIR}/configured_files/include
|
|
${PyClassifiers_INCLUDE_DIRS}
|
|
${Bayesnet_INCLUDE_DIRS}
|
|
)
|
|
add_executable(PlatformSample sample.cpp ${Platform_SOURCE_DIR}/src/main/Models.cpp)
|
|
target_link_libraries(PlatformSample "${PyClassifiers}" "${BayesNet}" fimdlp ${Python3_LIBRARIES} "${TORCH_LIBRARIES}" ${LIBTORCH_PYTHON} Boost::python Boost::numpy) |