/simpletypesystem/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/simpletypesystem/trunk

« back to all changes in this revision

Viewing changes to CMakeLists.txt

* Merge callback system fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    # This can not be tested using cross-compile methods with MingW and Wine.
36
36
    set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11 -mthreads -Wall -gdwarf-2 -pthread")
37
37
 
38
 
    set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -std=c11 -mthreads -Wall -g -gdwarf-2 -O0")
 
38
    set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -std=c11 -mthreads -Wall -g -O0")
39
39
 
40
 
    set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -std=c11 -mthreads -Wall -gdwarf-2 ")
 
40
    set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -std=c11 -mthreads -Wall ")
41
41
  elseif (MSVC)
42
42
    message ("MSVC is not supported, Yet. Patches welcome!")
43
43
  endif ()
45
45
  add_definitions(-D_POSIX_C_SOURCE=199309L -D_GNU_SOURCE)
46
46
  # We need -rdynamic to get the traceback information on *nix.
47
47
  # This may not work on all non-windows targets. FIXME.
48
 
  set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread -std=c11  -Wall -rdynamic -fstack-protector-strong")
 
48
  set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread -std=c11  -Wall -rdynamic -g -fstack-protector-strong")
49
49
 
50
50
  set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -pthread -std=c11 -Wall -g -rdynamic -fstack-protector-strong")
51
51