CMakeLists.txt
author Ryan C. Gordon <icculus@icculus.org>
Sat, 19 Apr 2008 02:29:41 -0400
branchtrunk
changeset 147 98043daf5027
parent 52 305ddf21d660
child 153 4410cc03dade
permissions -rw-r--r--
Removed explicit numbers on enums in mojoshader.h. Why was I doing that, again?
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
35
5749d174b537 [svn] Might as well keep the tradition alive.
icculus
parents: 10
diff changeset
     1
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
5749d174b537 [svn] Might as well keep the tradition alive.
icculus
parents: 10
diff changeset
     2
PROJECT(MojoShader)
48
86dc2c772d26 [svn] Enabled -Wall, found some bugs.
icculus
parents: 35
diff changeset
     3
86dc2c772d26 [svn] Enabled -Wall, found some bugs.
icculus
parents: 35
diff changeset
     4
IF(CMAKE_COMPILER_IS_GNUCC)
86dc2c772d26 [svn] Enabled -Wall, found some bugs.
icculus
parents: 35
diff changeset
     5
    ADD_DEFINITIONS(-Wall -ggdb3)
86dc2c772d26 [svn] Enabled -Wall, found some bugs.
icculus
parents: 35
diff changeset
     6
ENDIF(CMAKE_COMPILER_IS_GNUCC)
86dc2c772d26 [svn] Enabled -Wall, found some bugs.
icculus
parents: 35
diff changeset
     7
52
305ddf21d660 [svn] Okay, done with memory profiling for now.
icculus
parents: 48
diff changeset
     8
# testparse uses this when I'm looking at memory usage patterns.
305ddf21d660 [svn] Okay, done with memory profiling for now.
icculus
parents: 48
diff changeset
     9
#ADD_DEFINITIONS(-DMOJOSHADER_DEBUG_MALLOC=1)
48
86dc2c772d26 [svn] Enabled -Wall, found some bugs.
icculus
parents: 35
diff changeset
    10
35
5749d174b537 [svn] Might as well keep the tradition alive.
icculus
parents: 10
diff changeset
    11
ADD_EXECUTABLE(testparse testparse.c mojoshader.c)
1
99ac16070d07 [svn] Initial add.
icculus
parents:
diff changeset
    12
99ac16070d07 [svn] Initial add.
icculus
parents:
diff changeset
    13
# End of CMakeLists.txt ...
99ac16070d07 [svn] Initial add.
icculus
parents:
diff changeset
    14