BUG: when creating rule files remove the IntDir
This commit is contained in:
parent
e9c517ecf1
commit
6e494f9bce
|
@ -259,6 +259,7 @@ void cmLocalVisualStudio6Generator::WriteDSPFile(std::ostream& fout,
|
||||||
{
|
{
|
||||||
if(!cmSystemTools::FileExists(source.c_str()))
|
if(!cmSystemTools::FileExists(source.c_str()))
|
||||||
{
|
{
|
||||||
|
cmSystemTools::ReplaceString(source, "$(IntDir)/", "");
|
||||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||||
std::ofstream fout(source.c_str(),
|
std::ofstream fout(source.c_str(),
|
||||||
std::ios::binary | std::ios::out | std::ios::trunc);
|
std::ios::binary | std::ios::out | std::ios::trunc);
|
||||||
|
|
Loading…
Reference in New Issue