Changeset 2590 for code/branches/buildsystem2/cmake
- Timestamp:
- Jan 12, 2009, 5:06:56 PM (16 years ago)
- Location:
- code/branches/buildsystem2/cmake
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/cmake/ConfigMSVC.cmake
r2588 r2590 44 44 MESSAGE(FATAL_ERROR "Could not find dependency directory for the Visual Studio libraries") 45 45 ENDIF(EXISTS ${CMAKE_SOURCE_DIR}/dependencies/orxonox_vc8) 46 SET(ORXONOX_LIBRARY_BIN_DIR ${MSVC_LIBRARY_DIR}/bin) 46 47 47 48 # Set variables for the include directories and the libraries … … 56 57 SET(ENV{OPENALDIR} ${MSVC_LIBRARY_DIR}/openal-1.1) 57 58 SET(ENV{LUA_DIR} ${MSVC_LIBRARY_DIR}/lua-5.1.3) 58 SET(ENV{OGRE_HOME} "${MSVC_LIBRARY_DIR}/ogre-1.4.9;${ MSVC_LIBRARY_DIR}/bin")59 SET(ENV{OGRE_HOME} "${MSVC_LIBRARY_DIR}/ogre-1.4.9;${ORXONOX_LIBRARY_BIN_DIR}") 59 60 SET(TCL_INCLUDE_PATH ${MSVC_LIBRARY_DIR}/tcl-8.5.2/include) 60 61 SET(TCL_LIBRARY ${MSVC_LIBRARY_DIR}/tcl-8.5.2/lib/tcl85t.lib) … … 126 127 127 128 # Set tolua working directory because lua.dll is not where tolua is 128 SET(TOLUA_PARSER_WORKING_DIRECTORY ${ MSVC_LIBRARY_DIR}/bin)129 SET(TOLUA_PARSER_WORKING_DIRECTORY ${ORXONOX_LIBRARY_BIN_DIR}) 129 130 ENDIF (MSVC) -
code/branches/buildsystem2/cmake/ConfigMinGW.cmake
r2583 r2590 42 42 MESSAGE(FATAL_ERROR "Could not find dependency directory for the MinGW libraries") 43 43 ENDIF(EXISTS ${CMAKE_SOURCE_DIR}/libs) 44 44 SET(ORXONOX_LIBRARY_BIN_DIR ${MINGW_LIBRARY_DIR}) 45 45 46 46 # Note: When setting ENV${} variables, make sure to use quotes when -
code/branches/buildsystem2/cmake/ConfigPlatforms.cmake
r2588 r2590 34 34 # When searching for debug libraries, this is appended to the libarary name 35 35 SET(LIBRARY_DEBUG_POSTFIX "_d") 36 # Sets where to find the binary directory of external libraries 37 SET(ORXONOX_LIBRARY_BIN_DIR ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) 36 38 # Working directory for the tolua parser. Adjust for windows because lua.dll has to be there! 37 39 SET(TOLUA_PARSER_WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
Note: See TracChangeset
for help on using the changeset viewer.