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