PROJECT(fcDemoLinux)

#if you don't want the full compiler output, remove the following line
SET(CMAKE_VERBOSE_MAKEFILE ON)

#to compile a debug application, set DEBUG to 1, otherwise to 0
SET(DEBUG 0)

#add definitions, compiler switches, etc. 
IF(${DEBUG})
	MESSAGE("BUILDING A DEBUG VERSION")
	ADD_DEFINITIONS(-Wall -g -O0)
ELSE(${DEBUG})
	MESSAGE("BUILDING A RELEASE VERSION")
	ADD_DEFINITIONS(-Wall -O2)
ENDIF(${DEBUG})

#list all source files here
ADD_EXECUTABLE(fcDemoLinux main.cpp Util.cpp event.cpp)

#need to link to some other libraries ? just add them here
TARGET_LINK_LIBRARIES(fcDemoLinux fcBase)

