Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 20, 2008, 5:53:36 PM (16 years ago)
Author:
adrfried
Message:

simplified use of -iquote

Location:
code/branches/buildsystem/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem/src/core/CMakeLists.txt

    r1977 r1978  
    5454INCLUDE(UseTolua)
    5555TOLUA(Core CORE_SRC_FILES INPUTFILES Script.h CommandExecutor.h)
     56INCLUDE_DIRECTORIES_QUOTES(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
    5657
    5758ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
  • code/branches/buildsystem/src/orxonox/CMakeLists.txt

    r1977 r1978  
    6666INCLUDE(UseTolua)
    6767TOLUA(Orxonox ORXONOX_SRC_FILES INPUTFILES gui/GUIManager.h)
    68 
    69 SET(CORE_SUBDIR src/core)
    70 SET(CORE_SOURCE_DIR "${CMAKE_SOURCE_DIR}/${CORE_SUBDIR}")
    71 SET(CORE_BINARY_DIR "${CMAKE_BINARY_DIR}/${CORE_SUBDIR}")
    72 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -iquote ${CORE_SOURCE_DIR} -iquote ${CORE_BINARY_DIR}")
    73 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -iquote ${CORE_SOURCE_DIR} -iquote ${CORE_BINARY_DIR}")
     68INCLUDE_DIRECTORIES_QUOTES(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
     69INCLUDE_DIRECTORIES_QUOTES("${CMAKE_SOURCE_DIR}/src/core" "${CMAKE_BINARY_DIR}/src/core")
    7470
    7571ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
Note: See TracChangeset for help on using the changeset viewer.