KhronosGroup / SPIRV-Headers

SPIRV-Headers
Other
269 stars 254 forks source link

cmake: Allow external control of test and install options #418

Closed dneto0 closed 7 months ago

dneto0 commented 7 months ago

Test and install by default when the project is top level.

In any case, they can be controlled via CMake variables SPIRV_HEADERS_ENABLE_TEST and SPIRV_HEADERS_ENABLE_INSTALL

Rename the simple test target to spirv_headers_simple_test

bashbaug commented 7 months ago

Merging as discussed in the February 14th teleconference.