File tree Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 7
7
. \# *
8
8
* .mo
9
9
CMakeLists.txt.user
10
+ user /
Original file line number Diff line number Diff line change @@ -213,6 +213,12 @@ foreach(extlib ${extlibs})
213
213
include (${extlib} )
214
214
endforeach (extlib ${extlibs} )
215
215
216
+ # User Libraries.
217
+ file (GLOB extlibs ${PROJECT_SOURCE_DIR} /user/vendor/libraries/*/Library.cmake )
218
+ foreach (extlib ${extlibs} )
219
+ include (${extlib} )
220
+ endforeach (extlib ${extlibs} )
221
+
216
222
include_directories (${DUNE_GENERATED} /src ${PROJECT_SOURCE_DIR} /src ${DUNE_VENDOR_INCS_DIR} )
217
223
link_directories (${DUNE_VENDOR_LIBS_DIR} )
218
224
set (DUNE_CORE_FILES ${DUNE_CORE_SOURCES} ${DUNE_VENDOR_FILES} )
Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ if(DUNE_PROGRAM_XGETTEXT)
53
53
file (GLOB_RECURSE sources "${PROJECT_SOURCE_DIR} /src/*.cpp" )
54
54
file (GLOB_RECURSE private_headers "${PROJECT_SOURCE_DIR} /private/src/*.hpp" )
55
55
file (GLOB_RECURSE private_sources "${PROJECT_SOURCE_DIR} /private/src/*.cpp" )
56
+ file (GLOB_RECURSE user_headers "${PROJECT_SOURCE_DIR} /private/src/*.hpp" )
57
+ file (GLOB_RECURSE user_sources "${PROJECT_SOURCE_DIR} /private/src/*.cpp" )
56
58
file (GLOB_RECURSE texts "${PROJECT_SOURCE_DIR} /i18n/*.txt" )
57
59
58
60
add_custom_target (i18n_extract
@@ -68,7 +70,7 @@ if(DUNE_PROGRAM_XGETTEXT)
68
70
--keyword=DTR_RT
69
71
--no-wrap
70
72
--indent
71
- -o dune.pot ${headers} ${sources} ${private_headers} ${private_sources} ${texts}
73
+ -o dune.pot ${headers} ${sources} ${private_headers} ${private_sources} ${user_headers} ${user_sources} ${ texts}
72
74
DEPENDS i18n_texts
73
75
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} /i18n )
74
76
endif (DUNE_PROGRAM_XGETTEXT )
Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ if(TASK_FILE)
170
170
else (TASK_FILE )
171
171
dune_add_tasks (${PROJECT_SOURCE_DIR} /src )
172
172
dune_add_tasks (${PROJECT_SOURCE_DIR} /private/src )
173
+ dune_add_tasks (${PROJECT_SOURCE_DIR} /user/src )
173
174
endif (TASK_FILE )
174
175
175
176
list (SORT DUNE_TASKS_ENABLED )
You can’t perform that action at this time.
0 commit comments