commontk/CTK — pull request #477 by mwoehlke-kitware (2014-05-27 22:11:25+00:00)
Title: Allow compiling/installing generated Python files

Modify `ctkMacroCompilePythonScript` to accept `SCRIPTS` and/or `RESOURCES` that are generated files, rather than requiring them to exist at configure time. Also, modify `ctkFunctionAddCompilePythonScriptTargets` to accept additional arguments that are passed to add_custom_target. (The second change allows passing e.g. `DEPENDS `, which is required to make the targets depend on other targets which generate the aforementioned generated files, so that copying of the files will succeed.)