Re: [CMake] debugging symbols in project

2016-01-02 Thread Owen Hogarth II
wow, that was a silly mistake, my builds are automated and I removed that line somewhere along the line. Thanks! On Sun, Jan 3, 2016 at 5:28 AM, Rainer Poisel wrote: > Owen, > > sorry, I replied directly to you instead of replying to this mailing list. > > Have you tried passing "-DCMAKE_BUILD_

Re: [CMake] debugging symbols in project

2016-01-02 Thread Rainer Poisel
Owen, sorry, I replied directly to you instead of replying to this mailing list. Have you tried passing "-DCMAKE_BUILD_TYPE=Debug" to CMake when invoking it? It is also possible to set this option when using "cmake-gui". Many regards, Rainer On Sat, Jan 2, 2016 at 9:23 PM, Owen Hogarth II

[CMake] debugging symbols in project

2016-01-02 Thread Owen Hogarth II
I have a simple cmake project that I am trying to test with gdb but I am having trouble. GDB is reporting now debugging symbols. CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR) PROJECT(core_e) SET(CMAKE_MACOSX_RPATH 1) set(CMAKE_C_FLAGS "-g -Wall") FIND_PACKAGE(OpenGL REQUIRED) SET(HEADER_FIL

Re: [CMake] Cannot set FOLDER property to an interface (header-only) target

2016-01-02 Thread Klaim - Joël Lamotte
On 1 January 2016 at 11:00, Jakob van Bethlehem wrote: > Hej Joël, > > The command you’re looking for is ‘source_group’, see > https://cmake.org/cmake/help/v3.0/command/source_group.html > > I use this already but it works only with source files, not with targets. With targets you need to set the

Re: [CMake] Cannot set FOLDER property to an interface (header-only) target

2016-01-02 Thread Klaim - Joël Lamotte
On 31 December 2015 at 17:19, Nils Gladitz wrote: > On 31.12.2015 14:19, David Cole via CMake wrote: > >> I can't think of a reason why we would not whitelist the FOLDER >> property... Unless somebody else chimes in with one, perhaps you could >> submit a proposed patch to whitelist it? >> > > As