CMakeLists.txt
author Ryan C. Gordon <icculus@icculus.org>
Sat, 19 Apr 2008 19:00:01 -0400
branchtrunk
changeset 153 4410cc03dade
parent 52 305ddf21d660
child 169 7e9d90724cf8
permissions -rw-r--r--
Added finderrors.c to revision control.

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)
ADD_EXECUTABLE(finderrors finderrors.c mojoshader.c)
TARGET_LINK_LIBRARIES(finderrors pthread)

# End of CMakeLists.txt ...