frang75 / nappgui_src

SDK for building cross-platform desktop apps in ANSI-C
https://www.nappgui.com
MIT License
506 stars 50 forks source link

Support white spaces in project path #110

Open SamSandq opened 8 months ago

SamSandq commented 8 months ago

I wanted to added some resource images to my application, and proceeded as the documentation says:

nap_desktop_app(Funtus "" NRC_EMBEDDED)
target_link_libraries(Funtus ${NAPPGUI_LIBRARIES} "-l sqlite3")

This FAILED with the following error:

Screenshot 2024-03-03 at 9 07 30

I was mystified, but had a hunch that it didn't properly find my files. And... I changed my source directory from nappgui projectsto nappgui_projects. The result was the following:

Screenshot 2024-03-03 at 9 27 17

In other words, either CMake or nrc does not allow spaces in directory names!

Please ascertain which, and correct.

frang75 commented 8 months ago

NAppGUI projects have never been tested with whitespaces or Unicode characters in path.