mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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.
19 lines
747 B
CMake
19 lines
747 B
CMake
|
|
|
|
macro (add_ispc_test_macro name)
|
|
add_test_macro("${name}" ${ARGN})
|
|
set_property(TEST "${name}" APPEND
|
|
PROPERTY LABELS "ISPC")
|
|
endmacro ()
|
|
|
|
add_ispc_test_macro(ISPC.ChainedStaticLibraries ISPCChainedStaticLibraries)
|
|
add_ispc_test_macro(ISPC.CustomHeaderSuffix ISPCCustomHeaderSuffix)
|
|
add_ispc_test_macro(ISPC.Defines ISPCDefines)
|
|
add_ispc_test_macro(ISPC.DynamicLibrary ISPCDynamicLibrary)
|
|
add_ispc_test_macro(ISPC.ObjectGenex ISPCObjectGenex)
|
|
add_ispc_test_macro(ISPC.ObjectLibrary ISPCObjectLibrary)
|
|
add_ispc_test_macro(ISPC.ResponseAndDefine ISPCResponseAndDefine)
|
|
add_ispc_test_macro(ISPC.StaticLibrary ISPCStaticLibrary)
|
|
add_ispc_test_macro(ISPC.SystemIncludes ISPCSystemIncludes)
|
|
add_ispc_test_macro(ISPC.TryCompile ISPCTryCompile)
|