You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
478 B
20 lines
478 B
5 years ago
|
UNITY_BUILD_CODE_AFTER_INCLUDE
|
||
|
------------------------------
|
||
|
|
||
|
Code snippet which is included verbatim by the :prop_tgt:`UNITY_BUILD`
|
||
|
feature just after every ``#include`` statement in the generated unity
|
||
|
source files. For example:
|
||
|
|
||
|
.. code-block:: cmake
|
||
|
|
||
|
set(after [[
|
||
|
#if defined(NOMINMAX)
|
||
|
#undef NOMINMAX
|
||
|
#endif
|
||
|
]])
|
||
|
set_target_properties(myTarget PROPERTIES
|
||
|
UNITY_BUILD_CODE_AFTER_INCLUDE "${after}"
|
||
|
)
|
||
|
|
||
|
See also :prop_tgt:`UNITY_BUILD_CODE_BEFORE_INCLUDE`.
|