diff options
author | Brad King <brad.king@kitware.com> | 2014-07-14 18:39:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-14 18:39:20 (GMT) |
commit | 8a205b980c8dc088aa2c9f91adb90d57a65fa560 (patch) | |
tree | 5b631a4434a072c0939ddbf85c8f2444ffb8888b /Source/cmGlobalGenerator.h | |
parent | d57be904ae997e44ec9ac3b44722277f81936577 (diff) | |
download | CMake-8a205b980c8dc088aa2c9f91adb90d57a65fa560.zip CMake-8a205b980c8dc088aa2c9f91adb90d57a65fa560.tar.gz CMake-8a205b980c8dc088aa2c9f91adb90d57a65fa560.tar.bz2 |
cmTarget: Compile old-style link dependencies only for VS 6
Compile all the "ForVS6" cmTarget members only on Windows. No other
platforms support the VS 6 generator.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index 160a8fb..5e6c03e 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -214,8 +214,10 @@ public: */ virtual void FindMakeProgram(cmMakefile*); +#if defined(_WIN32) && !defined(__CYGWIN__) /** Is this the Visual Studio 6 generator? */ virtual bool IsForVS6() const { return false; } +#endif ///! Find a target by name by searching the local generators. cmTarget* FindTarget(const std::string& name, |