CMakeLists.txt
author Ryan C. Gordon <icculus@icculus.org>
Sat, 05 Apr 2008 12:39:02 -0400
branchtrunk
changeset 101 0834e95e5e76
parent 52 305ddf21d660
child 153 4410cc03dade
permissions -rw-r--r--
First shot at DCL emitter for GLSL profile. Incomplete. This touched a LOT of code and has a lot of scary implications that I haven't fully explored. This is going to be one of those areas where OpenGL and Direct3D don't have a perfect one-to-one mapping, I think.

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