File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ project(SC)
4242
4343# SC version
4444set (SC_VERSION_MAJOR 0)
45- set (SC_VERSION_MINOR 7 -dev)
45+ set (SC_VERSION_MINOR 8 -dev)
4646set (SC_VERSION ${SC_VERSION_MAJOR} .${SC_VERSION_MINOR} )
4747
4848# SC ABI version. SC_ABI_SOVERSION should be incremented
Original file line number Diff line number Diff line change @@ -60,6 +60,9 @@ OPTION_WITH_DEFAULT(SC_GIT_VERSION "Build using version from git" ON)
6060option (SC_BUILD_EXPRESS_ONLY "Only build express parser." OFF )
6161mark_as_advanced (SC_BUILD_EXPRESS_ONLY )
6262
63+ option (DEBUGGING_GENERATED_SOURCES "disable md5 verification of generated sources" OFF )
64+ mark_as_advanced (DEBUGGING_GENERATED_SOURCES )
65+
6366#---------------------------------------------------------------------
6467# Coverage option
6568OPTION_WITH_DEFAULT (SC_ENABLE_COVERAGE "Enable code coverage test" OFF )
@@ -79,11 +82,10 @@ endif(SC_ENABLE_COVERAGE)
7982# Testing option
8083OPTION_WITH_DEFAULT (SC_ENABLE_TESTING "Enable unittesting framework" OFF )
8184if (SC_ENABLE_TESTING)
82- if (NOT DEFINED SC_BUILD_SCHEMAS)
85+ if (NOT ${SC_BUILD_EXPRESS_ONLY} AND NOT DEFINED SC_BUILD_SCHEMAS)
8386 set (SC_BUILD_SCHEMAS "ALL" ) #test all schemas, unless otherwise specified
8487 endif ()
8588 include (CTest )
86- ENABLE_TESTING ()
8789endif (SC_ENABLE_TESTING )
8890
8991#---------------------------------------------------------------------
Original file line number Diff line number Diff line change 1010# .exp file inside, which it uses. otherwise, ${path} is assumed to
1111# be an express file.
1212
13- if (NOT "${SC_BUILD_SCHEMAS} " STREQUAL "" )
13+ if (NOT ${SC_BUILD_EXPRESS_ONLY} AND NOT "${SC_BUILD_SCHEMAS} " STREQUAL "" )
1414 include (${SC_CMAKE_DIR} /schema_scanner/schemaScanner.cmake )
1515 foreach (src ${SC_SDAI_ADDITIONAL_EXES_SRCS} )
1616 get_filename_component (name ${src} NAME_WE )
@@ -25,7 +25,7 @@ if(NOT "${SC_BUILD_SCHEMAS}" STREQUAL "")
2525 LOCATE_SCHEMA (${FILE} abspath )
2626 SCHEMA_CMLIST (${abspath} )
2727 endforeach ()
28- endif (NOT " ${SC_BUILD_SCHEMAS} " STREQUAL "" )
28+ endif ()
2929
3030# Local Variables:
3131# tab-width: 8
Original file line number Diff line number Diff line change @@ -13,8 +13,10 @@ foreach(UNITARY_SCHEMA ${UNITARY_SCHEMAS})
1313 endif ( UNITARY_SCHEMA MATCHES "fail_.*" )
1414endforeach (UNITARY_SCHEMA ${UNITARY_SCHEMAS} )
1515
16- add_subdirectory (p21 )
17- add_subdirectory (cpp )
16+ if (NOT ${SC_BUILD_EXPRESS_ONLY} )
17+ add_subdirectory (p21 )
18+ add_subdirectory (cpp )
19+ endif ()
1820
1921# Local Variables:
2022# tab-width: 8
You can’t perform that action at this time.
0 commit comments