Skip to content
GitLab
Menu
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
cc9a43dd
Commit
cc9a43dd
authored
Mar 07, 2005
by
Andy Cedilnik
Browse files
ENH: Add proper dependencies for cmBootstrapCommands
parent
b629f608
Changes
1
Hide whitespace changes
Inline
Side-by-side
bootstrap
View file @
cc9a43dd
...
...
@@ -877,6 +877,10 @@ for a in ${CMAKE_CXX_SOURCES} ${CMAKE_C_SOURCES} ${KWSYS_CXX_SOURCES} ${KWSYS_C_
objs
=
"
${
objs
}
${
a
}
.o"
done
# Generate dependencies for cmBootstrapCommands.cxx
cmBootstrapCommandsDeps
=
`
grep
"#include.*cm[^.]*.cxx"
${
cmake_source_dir
}
/Source/cmBootstrapCommands.cxx |
sed
"s/.*
\"\(
.*
\)\"
/
\1
/"
|
awk
"{ print
\"
${
cmake_source_dir
}
/Source/
\"
\\
$1
}"
`
cmBootstrapCommandsDeps
=
`
echo
$cmBootstrapCommandsDeps
`
if
[
"x
${
cmake_ansi_cxx_flags
}
"
!=
"x"
]
;
then
cmake_cxx_flags
=
"
${
cmake_ansi_cxx_flags
}
${
cmake_cxx_flags
}
"
fi
...
...
@@ -900,6 +904,7 @@ for a in ${CMAKE_CXX_SOURCES}; do
echo
"
${
a
}
.o :
${
src
}
${
dep
}
"
>>
"
${
cmake_bootstrap_dir
}
/Makefile"
echo
"
${
cmake_cxx_compiler
}
${
cmake_cxx_flags
}
-c
${
src
}
-o
${
a
}
.o"
>>
"
${
cmake_bootstrap_dir
}
/Makefile"
done
echo
"cmBootstrapCommands.o:
$cmBootstrapCommandsDeps
"
>>
"
${
cmake_bootstrap_dir
}
/Makefile"
for
a
in
${
CMAKE_C_SOURCES
}
;
do
src
=
`
cmake_escape
"
${
cmake_source_dir
}
/Source/
${
a
}
.c"
`
echo
"
${
a
}
.o :
${
src
}
${
dep
}
"
>>
"
${
cmake_bootstrap_dir
}
/Makefile"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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