diff cmake/IrccdSystem.cmake @ 710:a17de53db29b

Misc: export libraries Export all libraries with CMake and install headers. While here, build Duktape as object library to avoid exporting it. Don't mix static/dynamic libraries anymore. closes #867 closes #439
author David Demelier <markand@malikania.fr>
date Sat, 07 Jul 2018 14:03:04 +0200
parents 0dd4fb9dfcc8
children 28f493661157
line wrap: on
line diff
--- a/cmake/IrccdSystem.cmake	Sat Jul 07 10:59:19 2018 +0200
+++ b/cmake/IrccdSystem.cmake	Sat Jul 07 14:03:04 2018 +0200
@@ -197,3 +197,8 @@
     ${CMAKE_BINARY_DIR}
     ${CMAKE_BINARY_DIR}/irccd
 )
+
+install(
+    FILES ${CMAKE_BINARY_DIR}/irccd/sysconfig.hpp
+    DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/irccd
+)