DirectXShaderCompiler/cmake
Chris B fb873d0a14
Clean up debug preprocessor macros (#4305)
* Clean up debug preprocessor macros

This change removes the `DBG` macro value in favor of `NDEBUG`, and
also converts many uses of `_DEBUG` with `NDEBUG`.

_DEBUG is set by MSVC when debug information generation is enabled.
NDEBUG is set by CMake debug configurations and by LLVM on all
configurations when `LLVM_ENABLE_ASSERTIONS` is set.

Aligning with LLVM's NDEBUG usage allows a consistent pattern
throughout the codebase.

* Address PR feedback
2022-03-02 14:55:24 -06:00
..
caches Convert cmake-predefined-config-params to cache (#3918) 2021-10-05 17:49:07 -05:00
modules Clean up debug preprocessor macros (#4305) 2022-03-02 14:55:24 -06:00
platforms first commit 2016-12-28 11:52:27 -08:00
README first commit 2016-12-28 11:52:27 -08:00
config-ix.cmake Fix build failure caused by clang version 11.1.0 in Linux (#4191) 2022-01-18 16:34:06 -05:00
nsis_icon.ico first commit 2016-12-28 11:52:27 -08:00
nsis_logo.bmp first commit 2016-12-28 11:52:27 -08:00

README

See docs/CMake.html for instructions on how to build LLVM with CMake.