File tree 4 files changed +13
-0
lines changed 4 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright 2023-2023 the openage authors. See copying.md for legal info.
2
2
3
+ add_subdirectory (nyan/)
4
+ add_subdirectory (qml/)
3
5
add_subdirectory (shaders/)
4
6
add_subdirectory (textures/)
Original file line number Diff line number Diff line change
1
+ install (DIRECTORY "."
2
+ DESTINATION "${ASSET_DIR} /test/nyan"
3
+ FILES_MATCHING PATTERN "*.nyan"
4
+ )
Original file line number Diff line number Diff line change
1
+ install (DIRECTORY "."
2
+ DESTINATION "${ASSET_DIR} /test/qml"
3
+ FILES_MATCHING PATTERN "*.qml"
4
+ )
Original file line number Diff line number Diff line change @@ -158,16 +158,19 @@ void Presenter::init_gui() {
158
158
// // -- gui initialization
159
159
// TODO: Do not use test GUI
160
160
util::Path qml_root = this ->root_dir / " assets" / " test" / " qml" ;
161
+ log ::log (INFO << " Presenter: Setting QML root to " << qml_root.resolve_native_path ());
161
162
if (not qml_root.is_dir ()) {
162
163
throw Error{ERR << " could not find qml root folder " << qml_root};
163
164
}
164
165
165
166
util::Path qml_assets = this ->root_dir / " assets" ;
167
+ log ::log (INFO << " Presenter: Setting QML asset path to " << qml_assets.resolve_native_path ());
166
168
if (not qml_assets.is_dir ()) {
167
169
throw Error{ERR << " could not find asset root folder " << qml_assets};
168
170
}
169
171
170
172
util::Path qml_root_file = qml_root / " main.qml" ;
173
+ log ::log (INFO << " Presenter: Setting QML root file to " << qml_root_file.resolve_native_path ());
171
174
if (not qml_root_file.is_file ()) {
172
175
throw Error{ERR << " could not find main.qml file " << qml_root_file};
173
176
}
You can’t perform that action at this time.
0 commit comments