"If the ALL option is specified it indicates that this target should be added to the default build target. The command and arguments are optional. If not specified, it will create an empty target. The command cannot be called ALL.";
return"Add -D define flags to command line for environments.";
return"Adds -D define flags to the command line of C and C++ compilers.";
}
/**
...
...
@@ -68,8 +68,11 @@ public:
virtualconstchar*GetFullDocumentation()
{
return
"ADD_DEFINITIONS(-DFOO -DBAR ...)\n"
"Add flags to command line of C and C++ compiles. This command can be used to add any flag to a compile line, but the -D flag is accepted most C/C++ compilers. Other flags may not be as portable.";
" ADD_DEFINITIONS(-DFOO -DBAR ...)\n"
"Adds flags to command line of C and C++ compilers. "
"This command can be used to add any flag to a compile line, "
"but the -D flag is accepted most C/C++ compilers. "
"Add a dependency to a target. This is only used to add dependencies between one executable and another. Regular build dependencies are handled automatically.";
" ADD_DEPENDENCIES(target-name depend-target1\n"
" depend-target2 ...)\n"
"Add a dependency to a target. This is only used to add dependencies "
"between targets that cannot be inferred from the library/executable "
"links that are specified. Regular build dependencies are "
return"Determine the command line that will build this project.";
return"Get the command line that will build this project.";
}
/**
...
...
@@ -67,8 +67,12 @@ public:
virtualconstchar*GetFullDocumentation()
{
return
"BUILD_COMMAND(NAME MAKECOMMAND)\n"
"Within CMAKE set NAME to the command that will build this project from the command line using MAKECOMMAND. MAKECOMMAND should be msdev, nmake, make or one of the end use build tools. This command will construct the command line to use that will build all the targets in this project. This is useful for testing systems.";
" BUILD_COMMAND(variable MAKECOMMAND)\n"
"Sets the given variable to a string containing the command that "
"will build this project from the root of the build tree using the "
"build tool given by MAKECOMMAND. MAKECOMMAND should be msdev, "
"nmake, make or one of the end user build tools. "
"This is useful for configuring testing systems.";
return"Enable testing for this directory and below.";
return"Enable testing for current directory and below.";
}
/**
...
...
@@ -83,8 +83,11 @@ public:
virtualconstchar*GetFullDocumentation()
{
return
"ENABLE_TESTING()\n"
"Enables testing for this directory and below. See also the ADD_TEST command. Note that Dart expects to find this file in the build directory root; therefore, this command should be in the source directory root too.";
" ENABLE_TESTING()\n"
"Enables testing for this directory and below. "
"See also the ADD_TEST command. Note that Dart expects to find "
"a test file in the build directory root. Therefore, this command "