We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3122a0 commit f39b7c9Copy full SHA for f39b7c9
cmake/CMakeBasics.cmake
@@ -1,7 +1,6 @@
1
set(CMAKE_ENABLE_EXPORTS ON)
2
3
if( CMAKE_BUILD_TYPE MATCHES "Debug" )
4
- message( "Bounds Checking Enabled" )
5
option( LVARRAY_BOUNDS_CHECK "" ON )
6
else()
7
option( LVARRAY_BOUNDS_CHECK "" OFF )
cmake/Config.cmake
@@ -25,6 +25,12 @@ if( USE_ADDR2LINE )
25
set( LVARRAY_ADDR2LINE_EXEC ${ADDR2LINE_EXEC} )
26
endif()
27
28
+if( DEFINED LVARRAY_BOUNDS_CHECK )
29
+ message( STATUS "LvArray bounds checking enabled." )
30
+else()
31
+ message( STATUS "LvArray bounds checking disabled." )
32
+endif()
33
+
34
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/src/LvArrayConfig.hpp.in
35
${CMAKE_BINARY_DIR}/include/LvArrayConfig.hpp )
36
0 commit comments