[CMake] -DCMAKE_BUILD_TYPE=Release breaks build process

🐋 Jan Hegewald jan.hegewald at awi.de
Thu Mar 2 05:57:48 EST 2017


Hi Berni,

> On 2 Mar 2017, at 10:12, Bernhard Seckinger <bernhard.seckinger at gmx.de> wrote:
...
> but when I try to build with
> -DCMAKE_BUILD_TYPE=Release the linker complains about missing functions.
...
> Maybe you can give me some ideas on how to proceed?
...

just a general idea as how to approach this:
- make a clean cmake directory and try again, or at least remove the CMakeCache.txt
- if you use the make generator, add -DCMAKE_VERBOSE_MAKEFILE=ON when calling cmake to know what exactly is being used during build

HTH,
Jan Hegewald



More information about the CMake mailing list