CMakeLists.txt
author Ryan C. Gordon <icculus@icculus.org>
Sun, 06 Apr 2008 11:21:56 -0400
branchtrunk
changeset 120 5589b5160d12
parent 52 305ddf21d660
child 153 4410cc03dade
permissions -rw-r--r--
SINCOS work. Fixed pre-sm3 SINCOS opcode in D3D profile, implemented it in the GLSL profile, added validity checking, and simplified state_TEXCOORD() too!

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