Download Latest Version cmake-2.8.11-Ninja-pool-g3fd28-win32-x86.zip (12.1 MB) Get Updates
Home / CMake namespace
Name Modified Size InfoDownloads / Week
Parent folder
Readme-namespace.txt 2011-02-03 349 Bytes
cmake-2.8.3-namespace-Linux-x86_64.sh 2011-02-03 8.4 MB
cmake-2.8.3-namespace-win32-x86.zip 2011-02-03 12.2 MB
Totals: 3 Items   20.7 MB 0
Namespace support for CMake: namespace(<string>) endnamespace() It is possible to write code like this (imagine antiX.cpp does not compile when the macro X is set): namespace(x) add_definitions(-DX) add_library(X x.cpp) endnamespace() add_library(antiX antiX.cpp) The CMake ticket is here http://www.cmake.org/Bug/view.php?id=11793
Source: Readme-namespace.txt, updated 2011-02-03