diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-01-17 19:11:26 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-01-17 19:11:26 (GMT) |
commit | e77515c2da3fcbc52809de9f148b6807459e1f28 (patch) | |
tree | 6e54579c8f873c7651c785be25ee48782cb10da4 /Source/cmSourceFilesCommand.h | |
parent | 3df3d839ccf5430e6c033ab4f0745d5f2e65d8c6 (diff) | |
download | CMake-e77515c2da3fcbc52809de9f148b6807459e1f28.zip CMake-e77515c2da3fcbc52809de9f148b6807459e1f28.tar.gz CMake-e77515c2da3fcbc52809de9f148b6807459e1f28.tar.bz2 |
Add option of adding generated files to source list
Diffstat (limited to 'Source/cmSourceFilesCommand.h')
-rw-r--r-- | Source/cmSourceFilesCommand.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Source/cmSourceFilesCommand.h b/Source/cmSourceFilesCommand.h index 235c6b6..924573f 100644 --- a/Source/cmSourceFilesCommand.h +++ b/Source/cmSourceFilesCommand.h @@ -53,6 +53,15 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * dependent on other packages (use SOURCE_FILES_REQUIRED() to add * dependent source files). * + * It allows sources to be added even if they are generated by a build + * process. This can be achieved usiong GENERATED keyword: + * SOURCE_FILES( Project_SRCS + * Source1 + * Source2 + * ... + * GENERATED + * SourceThatDoesNotExist ) + * * \sa cmSourceFilesRequireCommand */ class cmSourceFilesCommand : public cmCommand @@ -91,7 +100,7 @@ public: virtual const char* GetFullDocumentation() { return - "SOURCE_FILES(NAME file1 file2 ...)"; + "SOURCE_FILES(NAME file1 file2 ... [ GENERATED generated_file1 ... ])"; } cmTypeMacro(cmSourceFilesCommand, cmCommand); |