Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 1, 2008, 6:09:05 PM (17 years ago)
Author:
scheusso
Message:

merged trunk changes from 1101 to 1202 into camera branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/camera/CMakeLists.txt

    r1101 r1211  
    3232
    3333#set binary output directories
    34 SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
    35 SET(LIBRARY_OUTPUT_PATH    ${PROJECT_BINARY_DIR}/bin/lib)
     34SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
     35SET(LIBRARY_OUTPUT_PATH    ${PROJECT_SOURCE_DIR}/bin/lib)
    3636
    3737# global compiler/linker flags. force -O2!
     
    4343SET(CMAKE_MODULE_LINKER_FLAGS " --no-undefined")
    4444
    45 #Create verbose makefile output when compiling
    46 SET(CMAKE_VERBOSE_MAKEFILE TRUE)
     45#use 'cmake -D make_verb:1 path' to get verbose make output when compiling
     46IF (MAKE_VERB)
     47 SET(CMAKE_VERBOSE_MAKEFILE TRUE)
     48ENDIF (MAKE_VERB)
    4749
    4850
     
    7981  ${ENet_INCLUDE_DIR}
    8082  ${Boost_INCLUDE_DIRS}
    81   ${OPENAL_INCLUDE_DIR} ${ALUT_INCLUDE_DIR} ${VORBIS_INCLUDE_DIR} ${OGG_INCLUDE_DIR}
     83  ${OPENAL_INCLUDE_DIR}
     84  ${ALUT_INCLUDE_DIR}
     85  ${VORBIS_INCLUDE_DIR}
     86  ${OGG_INCLUDE_DIR}
    8287  ${Lua_INCLUDE_DIR}
    8388)
    84 
    85 
    86 ################ Source files ###################
    87 
    88 #if on a windows box, you have to generate the tolua bind files yourself
    89 IF(NOT WIN32)
    90 
    91   #At first, build lua
    92   MESSAGE(STATUS "\n******************* Building tolua... ******************\n\n")
    93   EXECUTE_PROCESS(COMMAND ./tolua-build)
    94   MESSAGE(STATUS "\n\n******************* Building tolua done ****************\n")
    95 
    96   #generate lua bind source files
    97   EXECUTE_PROCESS(COMMAND bin/./tolua-exec-script)
    98 
    99 ENDIF(NOT WIN32)
    10089
    10190#add main source dir
Note: See TracChangeset for help on using the changeset viewer.