frang75 / nappgui_src

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

Support white spaces in project path #110

Open SamSandq opened 2 months ago

SamSandq commented 2 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 2 months ago

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