Re: [CMake] -DCMAKE_BUILD_TYPE=Release breaks build process

2017-03-03 Thread Alan W. Irwin
On 2017-03-03 16:14+0100 Bernhard Seckinger wrote: My advice for putting together that bug report is to create the simplest standalone example of the problem that is possible (e.g., consiting of a CMakeLists.txt file that builds and installs a "hello, world" D application + D language source

Re: [CMake] -DCMAKE_BUILD_TYPE=Release breaks build process

2017-03-03 Thread Bernhard Seckinger
> My advice for putting together that bug report is to create the > simplest standalone example of the problem that is possible (e.g., > consiting of a CMakeLists.txt file that builds and installs a "hello, > world" D application + D language source code for that application. After one mornings

Re: [CMake] -DCMAKE_BUILD_TYPE=Release breaks build process

2017-03-02 Thread Alan W. Irwin
On 2017-03-02 13:01+0100 Bernhard Seckinger wrote: Basically it's (works) /usr/bin/gdc -I.. -fversion=slang -oCMakeFiles/starbattle.dir/__/puzzle -c /home/berni/Croco/Entwicklung/Croco/types/puzzle.d [...] /usr/bin/gdc CMakeFiles/starbattle.dir/starbattle

Re: [CMake] -DCMAKE_BUILD_TYPE=Release breaks build process

2017-03-02 Thread Bernhard Seckinger
Hi Jan, > just a general idea as how to approach this: > - make a clean cmake directory and try again, or at least remove the > CMakeCache.txt I'm allready doing this all the time... :-) > - if you use the make generator, add -DCMAKE_VERBOSE_MAKEFILE=ON when > calling cmake to know what exactly

Re: [CMake] -DCMAKE_BUILD_TYPE=Release breaks build process

2017-03-02 Thread Konstantin Tokarev
02.03.2017, 13:58, " Jan Hegewald" : > Hi Berni, > >>  On 2 Mar 2017, at 10:12, Bernhard Seckinger >> wrote: > > ... >>  but when I try to build with >>  -DCMAKE_BUILD_TYPE=Release the linker complains about missing functions. > > ... >>  Maybe

Re: [CMake] -DCMAKE_BUILD_TYPE=Release breaks build process

2017-03-02 Thread  Jan Hegewald
Hi Berni, > On 2 Mar 2017, at 10:12, Bernhard Seckinger 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