mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
ISPC: Generated Headers suffix configurable with a better default
The target property `ISPC_HEADER_SUFFIX` and associated global variable now can control the suffix used when generating the C/C++ interoperability ISPC headers. In addition the default suffix is now "_ispc.h" which matches the common convention that the ISPC compiler team uses and recommends.
This commit is contained in:
committed by
Brad King
parent
6aff058ab4
commit
c9a50f3556
@@ -0,0 +1,14 @@
|
||||
ISPC_HEADER_SUFFIX
|
||||
------------------
|
||||
|
||||
.. versionadded:: 3.19.2
|
||||
|
||||
Specify output suffix to be used for ISPC generated headers provided by the target.
|
||||
|
||||
This property is initialized by the value of the :variable:`CMAKE_ISPC_HEADER_SUFFIX`
|
||||
variable if it is set when a target is created.
|
||||
|
||||
If the target contains ISPC source files, this specifies the header suffix to
|
||||
be used for the generated headers.
|
||||
|
||||
The default value is ``_ispc.h``.
|
||||
Reference in New Issue
Block a user