Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 11 and Version 12 of code/tools/CMake


Ignore:
Timestamp:
Nov 29, 2007, 7:03:05 PM (17 years ago)
Author:
nicolasc
Comment:

added example CML

Legend:

Unmodified
Added
Removed
Modified
  • code/tools/CMake

    v11 v12  
    11[[TracNav(TracNav/TOC_Coding)]]
    22= CMake Build System =
     3
     4== Writing CMakeLists.txt ==
     5Just as an simple example for how to write a CMakeLists.txt (CMake counterpart to Makefile.am and alike).[[br]]
     6{{{PROJECT(Orxonox)
     7
     8SET( SRC_FILES
     9        some_soource.cc
     10        another_source.cc
     11)
     12
     13INCLUDE_DIRECOTRIES(.)
     14
     15ADD_LIBRARY(network ${SRC_FILES})}}}[[br]]
     16
    317
    418== Using CMake with KDevelop ==
     
    1933  * i.e Name: CXXFLAGS; Value: -O2 -pipe[[br]]
    2034  * CXXFLAGS or LDFLAGS are also possible. In fact any compiler flags can be set here[[br]]
    21   ''If you don't know what CFLAGS are, don't set them, otherwise use at you own discretion. Only reasonable falgs will be supported''[[br]][[br]]
     35  ''If you don't know what CFLAGS are, don't set them, otherwise use at you own discretion. Only reasonable flags will be supported''[[br]][[br]]
    2236
    2337Go to '''{{{Project->Project Option->Run Option}}}'''