yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
74c39eaa3
master
1if ( SLANG_ENABLE_SLANGRT) 2slang_add_target ( 3. 4${ SLANG_LIB_TYPE } 5# This compiles 'core' again with the SLANG_RT_DYNAMIC_EXPORT macro defined 6EXTRA_SOURCE_DIRS ${ slang_SOURCE_DIR } /source/core 7USE_EXTRA_WARNINGS 8LINK_WITH_PRIVATE miniz lz4_static Threads::Threads ${ CMAKE_DL_LIBS } 9LINK_WITH_PUBLIC unordered_dense::unordered_dense 10EXPORT_MACRO_PREFIX SLANG_RT 11INCLUDE_DIRECTORIES_PUBLIC ${ slang_SOURCE_DIR } /include 12INSTALL 13# This depends on unordered_dense in the header, so we can't export 14# this via cmake without obligating ourselves to also install our 15# bundled version of unordered_dense, give it this different export set 16# name so we don't attempt to export it 17EXPORT_SET_NAME SlangRTTargets 18) 19endif ()