getsolus / ypkg

Modern, declarative, structured build format
https://getsol.us
GNU General Public License v3.0
22 stars 11 forks source link

Change macro syntax for direct usage with CMake and Ninja #18

Closed YakoYakoYokuYoku closed 2 years ago

YakoYakoYokuYoku commented 3 years ago

When I was building FreeCAD/FreeCAD I've noticed that one argument (the OpenCascade implementation) needs to be passed with spaces, but Bash isn't smart enough to handle this and I had to resort to setting IFS, which wasn't the desired option. Instead I propose to just unwrap the Bash function into using the command directly, and also this omits invoking a probably failing mkdir command.