STYLE: remove debug output, fix indentation
the tests run again successfully, but since CheckTypeSize will switch to a TRY_COMPILE soon I will look at it again after this change Alex
This commit is contained in:
parent
504ea6df4e
commit
c9aecb91cc
@ -41,9 +41,14 @@
|
||||
|
||||
/* sdcc, the small devices C compiler for embedded systems,
|
||||
http://sdcc.sourceforge.net
|
||||
Beside this id not supported yet by CMake */
|
||||
Beside this id not supported yet by CMake
|
||||
Unfortunately this doesn't work because SDCC (and other embedded compilers
|
||||
too) produce not binary files, but e.g. Intel hex files by default.
|
||||
This also means it has a different suffix (.ihx) so the file isn't even
|
||||
found. */
|
||||
/*
|
||||
#elif defined(SDCC)
|
||||
# define COMPILER_ID "SDCC"
|
||||
# define COMPILER_ID "SDCC" */
|
||||
|
||||
#elif defined(_COMPILER_VERSION)
|
||||
# define COMPILER_ID "MIPSpro"
|
||||
|
@ -55,8 +55,6 @@ MACRO(CHECK_TYPE_SIZE TYPE VARIABLE)
|
||||
"${CHECK_TYPE_SIZE_ADD_LIBRARIES}"
|
||||
"${CHECK_TYPE_SIZE_ADD_INCLUDES}"
|
||||
OUTPUT_VARIABLE OUTPUT)
|
||||
|
||||
message(STATUS "debug: COMPILE: ${HAVE_${VARIABLE}} RUN: ${${VARIABLE}} OUT: ${OUTPUT}")
|
||||
IF(HAVE_${VARIABLE})
|
||||
MESSAGE(STATUS "Check size of ${TYPE} - done")
|
||||
FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
|
||||
|
@ -96,10 +96,6 @@ bool cmTryRunCommand::InitialPass(std::vector<std::string> const& argv)
|
||||
bool worked = cmSystemTools::RunSingleCommand(finalCommand.c_str(),
|
||||
&output, &retVal,
|
||||
0, false, timeout);
|
||||
|
||||
printf("worked: %d output: -%s-\n", worked?1:0, output.c_str());
|
||||
|
||||
|
||||
if(outputVariable.size())
|
||||
{
|
||||
// if the TryCompileCore saved output in this outputVariable then
|
||||
|
Loading…
x
Reference in New Issue
Block a user