diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-10-24 11:37:50 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-24 11:37:50 +0800 |
| commit | 61aa670237e2d51f7144322bf56b8ce3633c2db9 (patch) | |
| tree | 6f8fb7f7c2bd34f936f886fdf7d4fdb9e69d32e5 /source/slang-rt | |
| parent | fb50c032959d0f21579e8a6e1a0ab7141c7fbb97 (diff) | |
declutter top level CMakeLists.txt (#5391)
* Split examples cmake desc
* declutter top level CMakeLists.txt
* fail if building tests without gfx
* Move llvm fetching to another cmake file
* Further split CMakeLists.txt
* Neaten llvm fetching
* Remove last premake remnant
* correct cross builds
* Neaten
* Neaten project organization in vs
Diffstat (limited to 'source/slang-rt')
| -rw-r--r-- | source/slang-rt/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/slang-rt/CMakeLists.txt b/source/slang-rt/CMakeLists.txt new file mode 100644 index 000000000..fc37237cd --- /dev/null +++ b/source/slang-rt/CMakeLists.txt @@ -0,0 +1,15 @@ +if(SLANG_ENABLE_SLANGRT) + slang_add_target( + . + SHARED + # This compiles 'core' again with the SLANG_RT_DYNAMIC_EXPORT macro defined + EXTRA_SOURCE_DIRS ${slang_SOURCE_DIR}/source/core + USE_EXTRA_WARNINGS + LINK_WITH_PRIVATE + miniz lz4_static Threads::Threads ${CMAKE_DL_LIBS} + LINK_WITH_PUBLIC unordered_dense::unordered_dense + EXPORT_MACRO_PREFIX SLANG_RT + INCLUDE_DIRECTORIES_PUBLIC ${slang_SOURCE_DIR}/include + INSTALL + ) +endif() |
