Library is now shared

This commit is contained in:
Daniel Brunner
2018-10-07 22:16:54 +02:00
parent 3aadccb5c1
commit 646c25e41e
2 changed files with 1 additions and 5 deletions

View File

@ -1,5 +1,3 @@
project(neuralnetdemo)
set(HEADERS
)

View File

@ -1,5 +1,3 @@
project(neuralnetlib)
set(HEADERS
debug.h
neuralfactor.h
@ -21,7 +19,7 @@ set(SOURCES
neuron.cpp
)
add_library(neuralnetlib ${HEADERS} ${SOURCES})
add_library(neuralnetlib SHARED ${HEADERS} ${SOURCES})
target_compile_definitions(neuralnetlib PRIVATE NEURALNETLIB_LIBRARY)