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 <[email protected]> wrote: > 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 <[email protected]> > wrote: > > 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_FILES ${CMAKE_CURRENT_SOURCE_DIR}/headers/core_e.h) > > SET(SRC_FILES ${CMAKE_CURRENT_SOURCE_DIR}/core_e.c) > > SET(TARGET_LIBS glfw ${OPENGL_LIBRARIES}) > > SET(TARGET_INC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/headers" ) > > > > ADD_LIBRARY(core_e SHARED ${SRC_FILES} ${HEADER_FILES}) > > TARGET_LINK_LIBRARIES(core_en\ ${TARGET_LIBS}) > > TARGET_INCLUDE_DIRECTORIES(core_e PUBLIC ${TARGET_INC_DIR}) > > > > > > > > > > -- > > > > Powered by www.kitware.com > > > > Please keep messages on-topic and check the CMake FAQ at: > > http://www.cmake.org/Wiki/CMake_FAQ > > > > Kitware offers various services to support the CMake community. For more > > information on each offering, please visit: > > > > CMake Support: http://cmake.org/cmake/help/support.html > > CMake Consulting: http://cmake.org/cmake/help/consulting.html > > CMake Training Courses: http://cmake.org/cmake/help/training.html > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/cmake >
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
