Wolf macro cmake conftime
Compare changes
- Jeremie Deray authored
+ 8
− 3
@@ -13,6 +13,9 @@ IF(CMAKE_BUILD_TYPE MATCHES DEBUG)
@@ -436,6 +439,8 @@ INSTALL(FILES "${CMAKE_BINARY_DIR}/wolfConfig.cmake" DESTINATION "lib/cmake/${PR
This pr add a config.h file (template at src/internal/config.h.in
) which is set at cmake configure time - before building.
This allows to define/set pre-processing macro before compilation.
A simple example is also available here.
For instance it allows enabling / disabling _WOLF_DEBUG
token.