diff options
author | Brad King <brad.king@kitware.com> | 2010-11-09 22:54:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-11-09 22:54:40 (GMT) |
commit | 22aec406e6df44dcde0fa98e694455306febeaf1 (patch) | |
tree | 0a52c9527685274259716cb8fee042ddd54b2427 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 3d79e7d58ca0ebb63ffaba4ed16c1ea8c6bcf91d (diff) | |
download | CMake-22aec406e6df44dcde0fa98e694455306febeaf1.zip CMake-22aec406e6df44dcde0fa98e694455306febeaf1.tar.gz CMake-22aec406e6df44dcde0fa98e694455306febeaf1.tar.bz2 |
Set Intel .vfproj RuntimeLibrary attribute
Look for the "/threads", "/libs:dll", and "/dbglibs" flags and convert
them to the proper RuntimeLibrary attribute value in the IDE. This is
a 3-to-1 flag mapping and such needs special handling in the parser.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index ffe26b1..7fd7fd2 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -669,6 +669,7 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout, targetOptions.FixExceptionHandlingDefault(); targetOptions.Parse(flags.c_str()); targetOptions.Parse(defineFlags.c_str()); + targetOptions.ParseFinish(); targetOptions.AddDefines (this->Makefile->GetProperty("COMPILE_DEFINITIONS")); targetOptions.AddDefines(target.GetProperty("COMPILE_DEFINITIONS")); |