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
be6a5696
Commit
be6a5696
authored
Sep 30, 2002
by
Andy Cedilnik
Browse files
Make borland pass all the tests on XP (and 2000?)
parent
d789b135
Changes
2
Hide whitespace changes
Inline
Side-by-side
Source/cmSystemTools.cxx
View file @
be6a5696
...
@@ -1434,9 +1434,8 @@ bool WindowsRunCommand(const char* command, const char* dir,
...
@@ -1434,9 +1434,8 @@ bool WindowsRunCommand(const char* command, const char* dir,
ReadFile
(
read_stdout
,
buf
,
1023
,
&
bread
,
NULL
);
ReadFile
(
read_stdout
,
buf
,
1023
,
&
bread
,
NULL
);
//read the stdout pipe
//read the stdout pipe
std
::
cout
<<
buf
<<
std
::
flush
;
memset
(
buf
,
0
,
sizeof
(
buf
));
memset
(
buf
,
0
,
sizeof
(
buf
));
std
::
cout
<<
buf
<<
std
::
flush
;
}
}
}
}
...
...
Templates/CMakeBorlandWindowsSystemConfig.cmake
View file @
be6a5696
...
@@ -84,7 +84,7 @@ SET (CMAKE_SHLIB_SUFFIX ".dll" CACHE STRING
...
@@ -84,7 +84,7 @@ SET (CMAKE_SHLIB_SUFFIX ".dll" CACHE STRING
SET
(
CMAKE_MODULE_SUFFIX
".dll"
CACHE STRING
SET
(
CMAKE_MODULE_SUFFIX
".dll"
CACHE STRING
"Module library suffix."
)
"Module library suffix."
)
FIND_PROGRAM
(
CMAKE_MAKE_PROGRAM make
${
BCB_BIN_PATH
}
)
FIND_PROGRAM
(
CMAKE_MAKE_PROGRAM make
NAMES bmake
${
BCB_BIN_PATH
}
)
# We will hardcode them for now. Make sure to fix that in the future
# We will hardcode them for now. Make sure to fix that in the future
SET
(
CMAKE_SIZEOF_INT 4 CACHE INTERNAL
"Size of int data type"
)
SET
(
CMAKE_SIZEOF_INT 4 CACHE INTERNAL
"Size of int data type"
)
...
...
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