浏览代码

Include the header files in case of installation.

Ioannis Koutras 13 年之前
父节点
当前提交
53bc53d95a
共有 2 个文件被更改,包括 16 次插入0 次删除
  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}
+)