Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 21, 2008, 9:24:30 PM (17 years ago)
Author:
rgrieder
Message:
  • cmake is now capable of building to a specified directory. That means the src directory stays clean.

To use this, create a new directory (e.g. build/), switch to it and write:
cmake orxonox_root_path #e.g. 'cmake ..', when you create myBranch/build
make

  • the header files specified in tolua.pkg are now relative to the src/ directory
  • removed verbose make output (much better sight on gcc warnings and build process) If you need verbose output: 'cmake -D make_verb:1 path'
Location:
code/branches/cmake/src/tolua
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cmake/src/tolua/CMakeLists.txt

    r1122 r1123  
    4141ADD_CUSTOM_COMMAND(
    4242  OUTPUT tolua_bind.h tolua_bind.cc
    43   COMMAND ${TOLUA_EXE} -n orxonox -o ../../src/tolua/tolua_bind.cc -H ../../src/tolua/tolua_bind.h ../../src/tolua/tolua.pkg
     43  COMMAND ${TOLUA_EXE} -n orxonox -o tolua/tolua_bind.cc -H tolua/tolua_bind.h tolua/tolua.pkg
    4444  DEPENDS tolua
    45   WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/bin/lib
     45  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src
    4646)
    4747
  • code/branches/cmake/src/tolua/tolua.pkg

    r1122 r1123  
    1 $cfile "../../src/core/Script_clean.h"
     1$cfile "core/Script_clean.h"
Note: See TracChangeset for help on using the changeset viewer.