Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 30, 2007, 8:00:28 AM (16 years ago)
Author:
bensch
Message:

FICN: Added simple testing facilities to CMake.this is an example of how to implement Testing using CMake.

The Boolean cache-option TESTING_ENABLED can be triggered to enable all tests. Be aware to add all testing subdirectory includes into a IF(TESTING_ENABLED) clause.

File:
1 edited

Legend:

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

    r571 r727  
    22PROJECT(Orxonox)
    33#set some global variables, which are used throughout the project
     4
     5OPTION(TESTING_ENABLED "Do you want to enable Testing")
     6IF (TESTING_ENABLED)
     7ENABLE_TESTING()
     8ENDIF(TESTING_ENABLED)
    49
    510#Create some verbose output
Note: See TracChangeset for help on using the changeset viewer.