CMakeLists.txt
author icculus
Thu, 27 Mar 2008 22:52:20 -0400
branchtrunk
changeset 48 86dc2c772d26
parent 35 5749d174b537
child 52 305ddf21d660
permissions -rw-r--r--
[svn] Enabled -Wall, found some bugs.

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.
ADD_DEFINITIONS(-DMOJOSHADER_DEBUG_MALLOC=1)

ADD_EXECUTABLE(testparse testparse.c mojoshader.c)

# End of CMakeLists.txt ...