fips icon indicating copy to clipboard operation
fips copied to clipboard

Rewire cmake internals for cmake's target_source()

Open floooh opened this issue 6 years ago • 1 comments

...instead of delaying the cmake target creating the the fips_end_*() function, an empty target is now created in the fips_begin_*() macros, and adding sources, options, dependencies etc is now directly to the respective cmake target_*() functions instead of first gathering everything in variables. This simplifies the cmake scripts quite a bit and allows to directly use standard cmake commands (like target_sources() or target_compile_options() inside the fips begin/end block.

floooh avatar Feb 08 '19 17:02 floooh

Yeah it's a weird feature indeed.

floooh avatar Nov 28 '20 16:11 floooh