diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.co.uk> | 2011-01-21 12:11:01 +0200 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.co.uk> | 2011-01-21 12:11:01 +0200 |
commit | 5c4f16d335704c3084721114fc3bb9a218f43166 (patch) | |
tree | 5fa8d78b7c6e61ffac3a1fdb10e1db08d6bb24bc | |
parent | cf92b7a1dc80595a420546dba85b06b5c84e5934 (diff) |
Generate the list of codegen headers instead of hardcoding it.
An exclude list is easier to maintain than an include list in this case ;)
-rw-r--r-- | src/QGlib/CMakeLists.txt | 9 | ||||
-rw-r--r-- | src/QGst/CMakeLists.txt | 32 |
2 files changed, 4 insertions, 37 deletions
diff --git a/src/QGlib/CMakeLists.txt b/src/QGlib/CMakeLists.txt index b440924..ac3129c 100644 --- a/src/QGlib/CMakeLists.txt +++ b/src/QGlib/CMakeLists.txt @@ -29,13 +29,8 @@ set(QtGLib_INSTALLED_HEADERS error.h Error ) -set(QtGLib_CODEGEN_HEADERS - type.h - paramspec.h - object.h - signal.h - value.h -) +file(GLOB QtGLib_CODEGEN_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*.h") +list(REMOVE_ITEM QtGLib_CODEGEN_HEADERS "connectimpl.h" "emitimpl.h") set(QtGLib_CODEGEN_INCLUDES -Iglib-object.h diff --git a/src/QGst/CMakeLists.txt b/src/QGst/CMakeLists.txt index 7412ef6..4e4d21f 100644 --- a/src/QGst/CMakeLists.txt +++ b/src/QGst/CMakeLists.txt @@ -87,36 +87,8 @@ set(QtGStreamer_INSTALLED_HEADERS Utils/applicationsource.h Utils/ApplicationSource ) -set(QtGStreamer_CODEGEN_HEADERS - enums.h - structs.h - structure.h - caps.h - miniobject.h - object.h - pad.h - ghostpad.h - element.h - pluginfeature.h - elementfactory.h - bin.h - childproxy.h - pipeline.h - message.h - bus.h - urihandler.h - videoorientation.h - xoverlay.h - streamvolume.h - colorbalance.h - propertyprobe.h - query.h - clock.h - buffer.h - event.h - taglist.h - bufferlist.h -) +file(GLOB QtGStreamer_CODEGEN_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*.h") +list(REMOVE_ITEM QtGStreamer_CODEGEN_HEADERS "global.h") set(QtGStreamer_CODEGEN_INCLUDES -Igst/gst.h |