Library is now shared
This commit is contained in:
1 parent
3aadccb5c1
commit
646c25e41e
2 files changed
+1
-5
No files matched your search
@@ -1,5 +1,3 @@
|
||||
project(neuralnetdemo)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user