CMakeLists.txt
author icculus
Thu, 27 Mar 2008 23:15:01 -0400
branchtrunk
changeset 52 305ddf21d660
parent 48 86dc2c772d26
child 153 4410cc03dade
permissions -rw-r--r--
[svn] Okay, done with memory profiling for now.

CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
PROJECT(MojoShader)

IF(CMAKE_COMPILER_IS_GNUCC)
    ADD_DEFINITIONS(-Wall -ggdb3)
ENDIF(CMAKE_COMPILER_IS_GNUCC)

# testparse uses this when I'm looking at memory usage patterns.
#ADD_DEFINITIONS(-DMOJOSHADER_DEBUG_MALLOC=1)

ADD_EXECUTABLE(testparse testparse.c mojoshader.c)

# End of CMakeLists.txt ...