Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
de671542
Commit
de671542
authored
Apr 27, 2001
by
Bill Hoffman
Browse files
ENH: fix in source build with non-gnu
parent
e14ecec4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmMakefile.cxx
View file @
de671542
...
...
@@ -668,6 +668,17 @@ void cmMakefile::GenerateCacheOnly()
}
fout
<<
"include "
<<
mf
->
GetHomeOutputDirectory
()
<<
"/CMake/CMakeMaster.make
\n
"
;
dest
=
mf
->
GetStartOutputDirectory
();
dest
+=
"/CMakeTargets.make"
;
std
::
cout
<<
"cmake: creating : "
<<
dest
.
c_str
()
<<
"
\n
"
;
std
::
ofstream
fout2
(
dest
.
c_str
());
if
(
!
fout2
)
{
cmSystemTools
::
Error
(
"Failed to open file for write "
,
dest
.
c_str
());
}
fout2
<<
"#Initial CMakeTargets.make file created only to keep
\n
"
;
fout2
<<
"#certain makes happy that don't like to include makefiles
\n
"
;
fout2
<<
"#that do not exist
\n
"
;
}
for
(
unsigned
int
i
=
0
;
i
<
makefiles
.
size
();
++
i
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment