Selaa lähdekoodia

Include the header files in case of installation.

Ioannis Koutras 13 vuotta sitten
vanhempi
commit
53bc53d95a
2 muutettua tiedostoa jossa 16 lisäystä ja 0 poistoa
  1. 3 0
      include/CMakeLists.txt
  2. 13 0
      include/dmmlib/CMakeLists.txt

+ 3 - 0
include/CMakeLists.txt

@@ -0,0 +1,3 @@
+project(headers C)
+
+add_subdirectory(dmmlib)

+ 13 - 0
include/dmmlib/CMakeLists.txt

@@ -0,0 +1,13 @@
+project(dmmlib-headers C)
+
+set(dmmlib_HDRS
+	dmmlib.h
+	heap.h
+)
+
+install(
+  FILES
+    ${dmmlib_HDRS}
+  DESTINATION
+    ${INCLUDE_INSTALL_DIR}/${APPLICATION_NAME}
+)