Code Review
/
apps
/
app-templates.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix: wrong extension of configured files
[apps/app-templates.git]
/
cmake
/
common.cmake
diff --git
a/cmake/common.cmake
b/cmake/common.cmake
index
647d8d5
..
e9b8e4c
100644
(file)
--- a/
cmake/common.cmake
+++ b/
cmake/common.cmake
@@
-26,9
+26,9
@@
file(GLOB project_cmakefiles ${PROJECT_APP_TEMPLATES_DIR}/cmake/cmake.d/[0-9][0-9]-*.cmake)
list(SORT project_cmakefiles)
file(GLOB project_cmakefiles ${PROJECT_APP_TEMPLATES_DIR}/cmake/cmake.d/[0-9][0-9]-*.cmake)
list(SORT project_cmakefiles)
-file(GLOB home_cmakefiles $ENV{HOME}/.config/cmake.d/[0-9][0-9]-*.cmake)
+file(GLOB home_cmakefiles $ENV{HOME}/.config/
app-templates/
cmake.d/[0-9][0-9]-*.cmake)
list(SORT home_cmakefiles)
list(SORT home_cmakefiles)
-file(GLOB system_cmakefiles /etc/cmake.d/[0-9][0-9]-*.cmake)
+file(GLOB system_cmakefiles /etc/
app-templates/
cmake.d/[0-9][0-9]-*.cmake)
list(SORT system_cmakefiles)
foreach(file ${project_cmakefiles} ${home_cmakefiles} ${system_cmakefiles})
list(SORT system_cmakefiles)
foreach(file ${project_cmakefiles} ${home_cmakefiles} ${system_cmakefiles})
@@
-42,6
+42,9
@@
else()
project_subdirs_add()
endif(DEFINED PROJECT_SRC_DIR_PATTERN)
project_subdirs_add()
endif(DEFINED PROJECT_SRC_DIR_PATTERN)
+configure_files_in_dir($ENV{HOME}/.config/app-templates/scripts)
+configure_files_in_dir(/etc/app-templates/scripts)
+
project_targets_populate()
project_package_build()
project_closing_msg()
project_targets_populate()
project_package_build()
project_closing_msg()