diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-06-28 09:09:26 -0400 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-06-28 09:09:26 -0400 |
commit | 43de8c862868be38ce5ffe91edf09898ef8478cf (patch) | |
tree | 90a54e2fc57511c61b271a9bd6e01f6b4096d35a /Source/cmGlobalWatcomWMakeGenerator.h | |
parent | 53f39ad566ec7b9b3c118164d5330c0d17dd18c1 (diff) | |
download | cmake-43de8c862868be38ce5ffe91edf09898ef8478cf.tar.gz |
ENH: add OPTIONAL keyword to ENABLE_LANGUAGE, so it will be possible to do
something like this:
ENABLE_LANGUAGE(ASM-ATT)
IF(CMAKE_ASM-ATT_COMPILER_WORKS)
... do assembler stufff
ELSE(CMAKE_ASM-ATT_COMPILER_WORKS)
... fallback to generic C/C++
ENDIF(CMAKE_ASM-ATT_COMPILER_WORKS)
Alex
Diffstat (limited to 'Source/cmGlobalWatcomWMakeGenerator.h')
-rw-r--r-- | Source/cmGlobalWatcomWMakeGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalWatcomWMakeGenerator.h b/Source/cmGlobalWatcomWMakeGenerator.h index 6806277c3f..92dacb6ed5 100644 --- a/Source/cmGlobalWatcomWMakeGenerator.h +++ b/Source/cmGlobalWatcomWMakeGenerator.h @@ -45,7 +45,7 @@ public: * extension, pthreads, byte order etc. */ virtual void EnableLanguage(std::vector<std::string>const& languages, - cmMakefile *); + cmMakefile *, bool optional); }; #endif |