CMakeLists.txt
author Ryan C. Gordon <icculus@icculus.org>
Wed, 16 Apr 2008 17:58:11 -0400
branchtrunk
changeset 130 e2eeb1f1c902
parent 52 305ddf21d660
child 153 4410cc03dade
permissions -rw-r--r--
Fix to M3X2 in GLSL profile. M3X2 should output a vec2, not a vec3.

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 ...