compiler warnings
This commit is contained in:
parent
0415b0db75
commit
a7589c3a32
|
@ -29,7 +29,7 @@ bool cmTryRunCommand::InitialPass(std::vector<std::string> const& argv)
|
||||||
// build an arg list for TryCompile and extract the runArgs
|
// build an arg list for TryCompile and extract the runArgs
|
||||||
std::vector<std::string> tryCompile;
|
std::vector<std::string> tryCompile;
|
||||||
std::string runArgs;
|
std::string runArgs;
|
||||||
int i;
|
unsigned int i;
|
||||||
for (i = 1; i < argv.size(); ++i)
|
for (i = 1; i < argv.size(); ++i)
|
||||||
{
|
{
|
||||||
if (argv[i] == "ARGS")
|
if (argv[i] == "ARGS")
|
||||||
|
|
|
@ -63,8 +63,8 @@ public:
|
||||||
{
|
{
|
||||||
return
|
return
|
||||||
"TRY_RUN(RUN_RESULT_VAR COMPILE_RESULT_VAR bindir srcfile <CMAKE_FLAGS <Flags>> <COMPILE_DEFINITIONS <flags>> <ARGUMENTS <arg1> <arg2>...>)\n"
|
"TRY_RUN(RUN_RESULT_VAR COMPILE_RESULT_VAR bindir srcfile <CMAKE_FLAGS <Flags>> <COMPILE_DEFINITIONS <flags>> <ARGUMENTS <arg1> <arg2>...>)\n"
|
||||||
"Try compiling a srcfile. Return the success or failure in ";
|
"Try compiling a srcfile. Return the success or failure in "
|
||||||
"COMPILE_RESULT_VAR. Then if the compile succeeded, run the ";
|
"COMPILE_RESULT_VAR. Then if the compile succeeded, run the "
|
||||||
"executable and return the result in RUN_RESULT_VAR. ";
|
"executable and return the result in RUN_RESULT_VAR. ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue