CMakeLists.txt
branchtrunk
changeset 48 86dc2c772d26
parent 35 5749d174b537
child 52 305ddf21d660
equal deleted inserted replaced
47:49953c7cb142 48:86dc2c772d26
     1 CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
     1 CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
     2 PROJECT(MojoShader)
     2 PROJECT(MojoShader)
       
     3 
       
     4 IF(CMAKE_COMPILER_IS_GNUCC)
       
     5     ADD_DEFINITIONS(-Wall -ggdb3)
       
     6 ENDIF(CMAKE_COMPILER_IS_GNUCC)
       
     7 
       
     8 # testparse uses this.
       
     9 ADD_DEFINITIONS(-DMOJOSHADER_DEBUG_MALLOC=1)
       
    10 
     3 ADD_EXECUTABLE(testparse testparse.c mojoshader.c)
    11 ADD_EXECUTABLE(testparse testparse.c mojoshader.c)
     4 
    12 
     5 # End of CMakeLists.txt ...
    13 # End of CMakeLists.txt ...
     6 
    14