Commit Graph

7 Commits

Author SHA1 Message Date
Daniel Mensinger 31eb41ec2f
cmake: traceparser better handle lists 2020-02-19 11:52:22 +01:00
Daniel Mensinger 4ec6918cd5
cmake: Fix dependency loops in custom targets (fixes #6632) 2020-02-19 11:52:22 +01:00
Daniel Mensinger 36749a1625 cmake: Make output_target_map more robust (fixes #6208)
This PR refactors the old output_target_map, which was a
raw dict, into it's own class. This makes the access to
the map more uniform and robust (at the cost of more lines
of code).

Additionally relative paths to the build directory are
now also tracked for outputs. This is neccessary to
corretcly distingluish files with the same name, that are
in different directories.
2019-11-30 22:00:18 +02:00
Daniel Mensinger b2b9c102b5
cmake: Some minor fixup 2019-11-28 11:07:20 +01:00
Xavier Claessens 8efbcb1e80
cmake: Add unit test for add_custom_target() and add_dependency()
Also test commands with args separated by ';'
2019-11-27 21:12:55 +01:00
Daniel Mensinger 71a5ff718a
cmake: Skip ARGS key in COMMAND 2019-06-28 13:37:02 +02:00
Daniel Mensinger 647d80f34c
cmake: Added custom_target test case 2019-06-28 13:22:38 +02:00