File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,9 +27,6 @@ OPTION_WITH_DEFAULT(SC_CPP_GENERATOR "Compile exp2cxx" ON)
2727OPTION_WITH_DEFAULT (SC_MEMMGR_ENABLE_CHECKS "Enable sc_memmgr's memory leak detection" OFF )
2828OPTION_WITH_DEFAULT (SC_TRACE_FPRINTF "Enable extra comments in generated code so the code's source in exp2cxx may be located" OFF )
2929
30- option (SC_BUILD_EXPRESS_ONLY "Only build express parser." OFF )
31- mark_as_advanced (SC_BUILD_EXPRESS_ONLY )
32-
3330option (DEBUGGING_GENERATED_SOURCES "disable md5 verification of generated sources" OFF )
3431mark_as_advanced (DEBUGGING_GENERATED_SOURCES )
3532
@@ -51,12 +48,10 @@ endif(SC_ENABLE_COVERAGE)
5148#---------------------------------------------------------------------
5249# Testing option
5350OPTION_WITH_DEFAULT (SC_ENABLE_TESTING "Enable unittesting framework" OFF )
54- if (SC_ENABLE_TESTING)
55- if (NOT ${SC_BUILD_EXPRESS_ONLY} AND NOT DEFINED SC_BUILD_SCHEMAS)
56- set (SC_BUILD_SCHEMAS "ALL" ) #test all schemas, unless otherwise specified
57- endif ()
51+ if (SC_ENABLE_TESTING AND NOT DEFINED SC_BUILD_SCHEMAS)
52+ set (SC_BUILD_SCHEMAS "ALL" ) #test all schemas, unless otherwise specified
5853 include (CTest )
59- endif (SC_ENABLE_TESTING )
54+ endif ()
6055
6156#---------------------------------------------------------------------
6257# Executable install option
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_EXPRESS_ONLY} AND NOT "${SC_BUILD_SCHEMAS} " STREQUAL "" )
13+ if (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 )
Original file line number Diff line number Diff line change @@ -13,10 +13,8 @@ foreach(UNITARY_SCHEMA ${UNITARY_SCHEMAS})
1313 endif ( UNITARY_SCHEMA MATCHES "fail_.*" )
1414endforeach (UNITARY_SCHEMA ${UNITARY_SCHEMAS} )
1515
16- if (NOT ${SC_BUILD_EXPRESS_ONLY} )
17- add_subdirectory (p21 )
18- add_subdirectory (cpp )
19- endif ()
16+ add_subdirectory (p21 )
17+ add_subdirectory (cpp )
2018
2119# Local Variables:
2220# tab-width: 8
You can’t perform that action at this time.
0 commit comments