Permalink
Browse files

Merge pull request #54 from kubaroth/master

CMake added -DCMAKE_INSTALL_PREFIX option
  • Loading branch information...
2 parents d532fcd + 45cae2e commit e5b244e27d51f5617ee503e483defd65be7f5f63 @dougbinks dougbinks committed Jan 14, 2015
Showing with 12 additions and 0 deletions.
  1. +12 −0 Aurora/CMakeLists.txt
View
@@ -33,6 +33,18 @@ if(UNIX)
target_link_libraries(RuntimeObjectSystem dl)
endif()
+#
+# Make Install
+#
+install(DIRECTORY Common/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/Common
+ FILES_MATCHING PATTERN "*.inl")
+install(DIRECTORY RuntimeObjectSystem/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/RuntimeObjectSystem
+ FILES_MATCHING PATTERN "*.h")
+install(DIRECTORY RuntimeCompiler/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/RuntimeCompiler
+ FILES_MATCHING PATTERN "*.h")
+install(TARGETS RuntimeObjectSystem RuntimeCompiler
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/)
+
if(BUILD_EXAMPLES)
#

0 comments on commit e5b244e

Please sign in to comment.