File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
java/03_library_native_jni/source Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,13 @@ ${{VAR_CMAKE_LANG_SPEC}}
1515
1616# Options
1717option (${{VAR_PROJECT_NAME_UPPER}}_BUILD_TESTS "Enable/disable tests" ON )
18+ option (${{VAR_PROJECT_NAME_UPPER}}_SOURCE_ANALYSIS "Enable/disable source code static analysis by the compiler" OFF )
19+ option (
20+ ${{VAR_PROJECT_NAME_UPPER}}_IGNORE_WARNINGS
21+ "Specifies whether compiler warnings should let the build \
22+ process fail (OFF) or whether they should be ignored (ON)"
23+ OFF
24+ )
1825
1926# Set CMAKE_PREFIX_PATH from file
2027if (EXISTS "${PROJECT_SOURCE_DIR} /.cmakeprefixpath" )
@@ -25,5 +32,6 @@ endif()
2532
2633include (Dependencies.cmake)
2734include (cmake/TestUtil.cmake)
35+ include (cmake/BuildUtil.cmake)
2836
2937add_subdirectory (src/main native)
Original file line number Diff line number Diff line change 1+ ${{INCLUDE :c/cmake/BuildUtil.cmake}}
You can’t perform that action at this time.
0 commit comments