Skip to content

Commit

Permalink
ENH: final 2.4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
billhoffman committed Jan 21, 2008
1 parent 5eba99e commit 707b3e0
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SET(CMake_VERSION_MAJOR 2)
SET(CMake_VERSION_MINOR 4)
SET(CMake_VERSION_PATCH 8)
# for an actual release this should not be defined
SET(CMake_VERSION_RC 13)
#SET(CMake_VERSION_RC 13)
SET(CMake_VERSION "${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}")
SET(CMake_VERSION_FULL "${CMake_VERSION}.${CMake_VERSION_PATCH}")

Expand Down
2 changes: 2 additions & 0 deletions ChangeLog.manual
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Changes in CMake 2.4.8
* MSVC90 now defined for vs 9
Changes in CMake 2.4.8 RC 13
* fix vs 9 so it works, again...
* fix bug 6150, working directory can now change drives with vs custom commands
Expand Down
4 changes: 4 additions & 0 deletions Modules/Platform/Windows-cl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ IF(CMAKE_GENERATOR MATCHES "Makefiles")
SET(MSVC80 1)
SET(CMAKE_COMPILER_2005 1)
ENDIF("${compilerVersion}" EQUAL 1400)
IF("${compilerVersion}" EQUAL 1500)
SET(MSVC90 1)
SET(MSVC80 0)
ENDIF("${compilerVersion}" EQUAL 1500)
IF("${compilerVersion}" GREATER 1400)
SET(MSVC80 1)
SET(CMAKE_COMPILER_2005 1)
Expand Down
1 change: 1 addition & 0 deletions Modules/Platform/Windows-cl.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ SET(MSVC60 @MSVC60@)
SET(MSVC70 @MSVC70@)
SET(MSVC71 @MSVC71@)
SET(MSVC80 @MSVC80@)
SET(MSVC90 @MSVC90@)
SET(MSVC_IDE @MSVC_IDE@)
SET(MSVC_VERSION @MSVC_VERSION@)
SET(WIN32 1)
5 changes: 5 additions & 0 deletions Source/cmGlobalVisualStudio9Generator.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ cmGlobalVisualStudio9Generator::cmGlobalVisualStudio9Generator()
this->FindMakeProgramFile = "CMakeVS9FindMake.cmake";
}

//----------------------------------------------------------------------------
void cmGlobalVisualStudio9Generator::AddPlatformDefinitions(cmMakefile* mf)
{
mf->AddDefinition("MSVC90", "1");
}

void cmGlobalVisualStudio9Generator::WriteSLNHeader(std::ostream& fout)
{
Expand Down
1 change: 1 addition & 0 deletions Source/cmGlobalVisualStudio9Generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class cmGlobalVisualStudio9Generator :
virtual const char* GetName() const {
return cmGlobalVisualStudio9Generator::GetActualName();}
static const char* GetActualName() {return "Visual Studio 9 2008";}
virtual void AddPlatformDefinitions(cmMakefile* mf);

/** Get the documentation entry for this generator. */
virtual void GetDocumentation(cmDocumentationEntry& entry) const;
Expand Down

0 comments on commit 707b3e0

Please sign in to comment.