CMakeLists.txt
author Ryan C. Gordon <icculus@icculus.org>
Fri, 04 Apr 2008 11:27:09 -0400
branchtrunk
changeset 94 57adfb4769a0
parent 52 305ddf21d660
child 153 4410cc03dade
permissions -rw-r--r--
Simplifed public uniform information. No sense in having a name here, since it's basically meaningless in some profiles, like D3D. Even profiles that actually need a string name to bind data, like GLSL, can reconstruct it easily enough, since there was never a human-readable name to start with.

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