Something went wrong on our end
-
Martin Beseda authoredMartin Beseda authored
CMakeLists.txt 1.78 KiB
############
# EXAMPLES #
############
ADD_EXECUTABLE(seminar seminar.cpp)
TARGET_LINK_LIBRARIES(seminar PUBLIC lib4neuro)
ADD_EXECUTABLE(dev_sandbox dev_sandbox.cpp)
TARGET_LINK_LIBRARIES(dev_sandbox PUBLIC lib4neuro)
ADD_EXECUTABLE(net_test_1 net_test_1.cpp)
TARGET_LINK_LIBRARIES(net_test_1 PUBLIC lib4neuro)
ADD_EXECUTABLE(net_test_2 net_test_2.cpp)
TARGET_LINK_LIBRARIES(net_test_2 PUBLIC lib4neuro)
ADD_EXECUTABLE(net_test_3 net_test_3.cpp)
TARGET_LINK_LIBRARIES(net_test_3 PUBLIC lib4neuro)
ADD_EXECUTABLE(net_test_ode_1 net_test_ode_1.cpp)
TARGET_LINK_LIBRARIES(net_test_ode_1 PUBLIC lib4neuro)
ADD_EXECUTABLE(net_test_pde_1 net_test_pde_1.cpp)
TARGET_LINK_LIBRARIES(net_test_pde_1 PUBLIC lib4neuro)
ADD_EXECUTABLE(network_serialization network_serialization.cpp)
TARGET_LINK_LIBRARIES(network_serialization PUBLIC lib4neuro)
ADD_EXECUTABLE(test_harmonic_oscilator net_test_harmonic_oscilator.cpp)
TARGET_LINK_LIBRARIES(test_harmonic_oscilator PUBLIC lib4neuro)
ADD_EXECUTABLE(x2_fitting x2_fitting.cpp)
TARGET_LINK_LIBRARIES(x2_fitting PUBLIC lib4neuro)
ADD_EXECUTABLE(acsf acsf.cpp)
TARGET_LINK_LIBRARIES(acsf PUBLIC lib4neuro)
SET(EXAMPLES_OUTPUT_DIR ${PROJECT_BINARY_DIR}/examples)
SET_TARGET_PROPERTIES(
dev_sandbox
net_test_1
net_test_2
net_test_3
net_test_ode_1
net_test_pde_1
network_serialization
test_harmonic_oscilator
seminar
x2_fitting
acsf
PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY $<1:${EXAMPLES_OUTPUT_DIR}>
LIBRARY_OUTPUT_DIRECTORY $<1:${EXAMPLES_OUTPUT_DIR}>
RUNTIME_OUTPUT_DIRECTORY $<1:${EXAMPLES_OUTPUT_DIR}>
INCLUDE_DIRECTORIES ${ROOT_DIR}/include
)
TARGET_INCLUDE_DIRECTORIES(
net_test_3
PRIVATE
${Boost_INCLUDE_DIRS}
)
TARGET_INCLUDE_DIRECTORIES(
dev_sandbox
PRIVATE
${ARMADILLO_INCLUDE_DIR}
)