Re: [cmake-developers] Compiling CMake 3.6.1 fails on Raspbian Jessie

2016-09-05 Thread Cristian Adam
On Mon, Sep 5, 2016 at 10:33 PM, Brad King wrote: > On 09/05/2016 04:01 PM, Cristian Adam wrote: > > [ 62%] Built target cmjsoncpp > [snip] > > [ 93%] Linking CXX executable ../bin/cmake > > libCMakeLib.a(cmGlobalGenerator.cxx.o): In function `cmGlobalGenerator:: > WriteSummary(cmGeneratorTarget*

Re: [cmake-developers] Compiling CMake 3.6.1 fails on Raspbian Jessie

2016-09-05 Thread Brad King
On 09/05/2016 04:01 PM, Cristian Adam wrote: > [ 62%] Built target cmjsoncpp [snip] > [ 93%] Linking CXX executable ../bin/cmake > libCMakeLib.a(cmGlobalGenerator.cxx.o): In function > `cmGlobalGenerator::WriteSummary(cmGeneratorTarget*)': > cmGlobalGenerator.cxx:(.text+0x117a8): undefined referen

[cmake-developers] Compiling CMake 3.6.1 fails on Raspbian Jessie

2016-09-05 Thread Cristian Adam
Hi, Compiling CMake for Raspberri Pi (Raspbian Jessie) used to work simply as: ./bootstrap make sudo make install with CMake 3.6.1, build fails with: make [ 3%] Built target cmsys [ 3%] Built target cmsysTestDynload [

Re: [cmake-developers] targets with the same name as their enclosing directory can't be built when in that directory.

2016-09-05 Thread Brad King
On 09/05/2016 04:22 AM, Steve Lorimer wrote: > $ cat src/foo/foobar/CMakeLists.txt > add_executable(foobar main.cpp) > However, if I am in the build/foo directory, then nothing happens > if I "make foobar". That's because the foobar target is defined in build/foo/foobar. The target names are onl

[cmake-developers] targets with the same name as their enclosing directory can't be built when in that directory.

2016-09-05 Thread Steve Lorimer
I have the following directory structure: src/ + foo/ | +--- foobar/ + bar/ src/CMakeLists adds the foo and bar subdirectories src/foo/CMakeLists adds the foobar subdirectory src/foobar/CMakeLists and src/bar/CMakeLists create 2 executables (foobar and bar) $ cat src/CMakeLists.txt c