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
59714406
Commit
59714406
authored
Feb 21, 2002
by
Bill Hoffman
Browse files
add ifdef for windows function
parent
7cf06be1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmaketest.cxx
View file @
59714406
...
...
@@ -149,6 +149,7 @@ int main (int argc, char *argv[])
// MSDEV 7.0 .NET
else
if
(
lowerCaseCommand
.
find
(
"devenv"
)
!=
std
::
string
::
npos
)
{
#if defined(_WIN32) && !defined(__CYGWIN__)
if
(
makeCommand
.
find
(
' '
)
!=
std
::
string
::
npos
)
{
char
*
buffer
=
new
char
[
makeCommand
.
size
()
+
1
];
...
...
@@ -159,6 +160,7 @@ int main (int argc, char *argv[])
}
delete
[]
buffer
;
\
}
#endif
makeCommand
+=
" "
;
makeCommand
+=
projectName
;
makeCommand
+=
".sln /rebuild Debug /project ALL_BUILD"
;
...
...
Write
Preview
Markdown
is supported
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