|
@@ -1,11 +1,9 @@
|
1
|
|
-#add_library(lemmacore "${PROJECT_SOURCE_DIR}/LemmaCore/lemma.cpp" )
|
|
1
|
+include_directories(${CMAKE_INSTALL_PREFIX}/include)
|
2
|
2
|
|
|
3
|
+add_compile_options(-std=c++11) # CMake 2.8.12 or newer
|
|
4
|
+
|
|
5
|
+# TODO fill all the files
|
3
|
6
|
|
4
|
|
-#include_directories ("${PROJECT_SOURCE_DIR}/LemmaCore")
|
5
|
7
|
add_library(lemmacore "lemma.cpp" )
|
6
|
|
-#e)
|
7
|
|
-#include_directories(LemmaCore)
|
8
|
|
-# "${PROJECT_BINARY_DIR}/LemmaCore")
|
9
|
|
-# $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/mylib>
|
10
|
|
-# $<INSTALL_INTERFACE:include/mylib> # <prefix>/include/mylib
|
11
|
|
-#)
|
|
8
|
+add_dependencies(lemmacore YAML_CPP)
|
|
9
|
+
|