nappgui_src
nappgui_src copied to clipboard
Support white spaces in project path
I wanted to added some resource images to my application, and proceeded as the documentation says:
- added a directory under
.../res/
, giving.../res/res_images
- changed the
CMakeLists.txt
file in the main project directory to
nap_desktop_app(Funtus "" NRC_EMBEDDED)
target_link_libraries(Funtus ${NAPPGUI_LIBRARIES} "-l sqlite3")
- and ran
cmake -G Xcode -S . -B build -DCMAKE_INSTALL_PREFIX=/Users/sam/nappgui
This FAILED with the following error:
I was mystified, but had a hunch that it didn't properly find my files.
And... I changed my source directory from nappgui projects
to nappgui_projects
. The result was the following:
In other words, either CMake
or nrc
does not allow spaces in directory names!
Please ascertain which, and correct.
NAppGUI projects have never been tested with whitespaces or Unicode characters in path.