Commit beeba658 authored by Bill Hoffman's avatar Bill Hoffman

ENH: move stuff from main tree

parent 9680017c
Changes in CMake 2.4.3
* fix for 3557 - Under MSVC8 hardcoded TargetEnvironment for MIDL Compiler
* Fix for Xcode all projects to prevent -fvisibility=hidden flags. This is
needed to make RTTI work by default.
......
......@@ -551,7 +551,18 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout,
this->OutputDefineFlags(defineFlags.c_str(), fout);
fout << "\"\n";
fout << "\t\t\t\tMkTypLibCompatible=\"FALSE\"\n";
fout << "\t\t\t\tTargetEnvironment=\"1\"\n";
if( this->PlatformName == "x64" )
{
fout << "\t\t\t\tTargetEnvironment=\"3\"\n";
}
else if( this->PlatformName == "ia64" )
{
fout << "\t\t\t\tTargetEnvironment=\"2\"\n";
}
else
{
fout << "\t\t\t\tTargetEnvironment=\"1\"\n";
}
fout << "\t\t\t\tGenerateStublessProxies=\"TRUE\"\n";
fout << "\t\t\t\tTypeLibraryName=\"$(InputName).tlb\"\n";
fout << "\t\t\t\tOutputDirectory=\"$(IntDir)\"\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment