Download Latest Version (12.1 MB) Get Updates
Home / CMake namespace
Name Modified Size InfoDownloads / Week
Parent folder
Readme-namespace.txt 2011-02-03 349 Bytes 2011-02-03 8.4 MB 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
Source: Readme-namespace.txt, updated 2011-02-03