2018-10-07 16:06:53 +02:00
|
|
|
project(neuralnetlib)
|
|
|
|
|
|
|
|
|
|
set(HEADERS
|
|
|
|
|
debug.h
|
|
|
|
|
neuralfactor.h
|
|
|
|
|
neurallayer.h
|
|
|
|
|
neuralnet.h
|
|
|
|
|
neuron.h
|
2018-10-07 18:11:19 +02:00
|
|
|
interfaces/ineurallayer.h
|
|
|
|
|
interfaces/ineuralnet.h
|
|
|
|
|
interfaces/ineuron.h
|
|
|
|
|
interfaces/ineuronreceptor.h
|
|
|
|
|
interfaces/ineuronsignal.h
|
2018-10-07 16:06:53 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(SOURCES
|
|
|
|
|
debug.cpp
|
|
|
|
|
neuralfactor.cpp
|
|
|
|
|
neurallayer.cpp
|
|
|
|
|
neuralnet.cpp
|
|
|
|
|
neuron.cpp
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
add_library(neuralnetlib ${HEADERS} ${SOURCES})
|
|
|
|
|
|
|
|
|
|
target_compile_definitions(neuralnetlib PRIVATE NEURALNETLIB_LIBRARY)
|
|
|
|
|
|
|
|
|
|
target_link_libraries(neuralnetlib Qt5::Core)
|
|
|
|
|
|
|
|
|
|
target_include_directories(neuralnetlib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|