From 434c63acd090568147505ff1c31053dcb1b3863f Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Sat, 15 Feb 2014 16:42:47 +0000 Subject: Improve the ECMGenerateHeaders API with a variable for generated files ecm_generate_headers() now allows/forces the caller to collect the paths of the generated headers, so that they can be passed to the install command. This avoids issues of unexpected files being in the CamelCase includes directory, both from previous builds and because of case-insensitive file systems. MODULE_NAME is removed, as it is no longer desirable or necessary. Instead, the headers are placed directly in the output directory (usually CMAKE_CURRENT_BUILD_DIR). Overall, this makes ecm_generate_headers() behave much more like other file generation macros (like the Qt ones). The old syntax is still supported for now, to make the porting effort easier. REVIEW: 115765 --- tests/ECMGenerateHeadersTest/headsubdir/headtest2.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/ECMGenerateHeadersTest/headsubdir/headtest2.h (limited to 'tests/ECMGenerateHeadersTest/headsubdir/headtest2.h') diff --git a/tests/ECMGenerateHeadersTest/headsubdir/headtest2.h b/tests/ECMGenerateHeadersTest/headsubdir/headtest2.h new file mode 100644 index 00000000..e69de29b -- cgit v1.2.1