4 ms·
You can use pkg-config for this! I'm not sure if a lot of people are using pkg-config manually but you can do it easily. If you have a pkg-config file for the
by chlorion 3y ago
You can use pkg-config for this!
I'm not sure if a lot of people are using pkg-config manually but you can do it easily. If you have a pkg-config file for the library it will handle the flags for you.
I guess a build system would handle this for you also.
Even for "hello world" I've found meson to be useful, and it's only two lines of meson to get "hello world" to compile. I would prefer this to manually compiling by calling "c++ main.c++ -o hello" from the shell.