snowballs2.diff

molator, 08/22/2011 03:38 pm

Download (994 Bytes)

b/code/snowballs2/CMakeLists.txt Mon Aug 22 15:37:40 2011 +0200
1
SET(SNOWBALLS_CONFIG_FILE "${NL_ETC_PREFIX}/snowballs" CACHE FILEPATH "Snowballs config file location")
1
IF(WIN32)
2
  SET(SNOWBALLS_CONFIG_FILE "." CACHE FILEPATH "Snowballs config file location")
3
ELSE(WIN32)
4
  SET(SNOWBALLS_CONFIG_FILE "${NL_ETC_PREFIX}/snowballs" CACHE FILEPATH "Snowballs config file location")
5
ENDIF(WIN32)  
6
  
2 7
SET(SNOWBALLS_DATA_FILE "${NL_SHARE_PREFIX}/games/snowballs" CACHE FILEPATH "Snowballs data file location")
3 8
SET(SNOWBALLS_LOG_FILE "${NL_LOG_PREFIX}/snowballs" CACHE FILEPATH "Snowballs log file location")
4 9

5 10
# Note: Not sure if this is still the best way to do this...
6 11
#INSTALL(CODE "FILE(MAKE_DIRECTORY ${SNOWBALLS_LOG_FILE})")
7 12

8 13
#-----------------------------------------------------------------------------
9 14
#Platform specifics