Using a chain of GDbus generation macros is unweildy

Bug #1671807 reported by Pete Woods on 2017-03-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cmake-extras (Ubuntu)
Pete Woods

Bug Description

THe convention in CMake for code generation is for macros to behave as follows:

set(MY_SOURCES foo.c)

generate_stuff(MY_SOURCES ........ ARGS)
generate_stuff(MY_SOURCES ........ OTHER ARGS)
generate_stuff(MY_SOURCES ........ MORE ARGS)

add_executable(hello ${MY_SOURCES})

i.e. each generator automatically appends to the MY_SOURCES variable.

See QDBus for comparison:



Related branches

Pete Woods (pete-woods) on 2017-03-10
Changed in cmake-extras (Ubuntu):
assignee: nobody → Pete Woods (pete-woods)
status: New → In Progress
importance: Undecided → High
importance: High → Medium
Pete Woods (pete-woods) on 2017-04-10
Changed in cmake-extras (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers