diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-19 05:44:02 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-19 07:17:25 +0200 |
commit | ccb7f5167a07d5a886722f7d64d0f2b550a7a5a0 (patch) | |
tree | c0994383b3c899c22a47b5d270c81111809b74bb /cmake/opentrack-boilerplate.cmake | |
parent | 8d2c70f000ca00c8ebc571467a383a03442282df (diff) |
cmake: install source code as well
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r-- | cmake/opentrack-boilerplate.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index 970d542d..3b2cadfe 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -1,5 +1,3 @@ -include(opentrack-hier) - set(new-hier-path "#pragma once #include <QCoreApplication> #include <QString> @@ -68,6 +66,8 @@ function(opentrack_boilerplate__ n files_ no-library_ static_ no-compat_ compile set(link-mode STATIC) endif() add_library(${n} ${link-mode} ${files_}) + set(all-files ${${n}-c} ${${n}-res} ${${n}-ui} ${${n}-rc}) + install(FILES ${all-files} DESTINATION "${opentrack-doc-src-pfx}/${n}") message(STATUS "module ${n}") endif() if(NOT no-library_) |