GeezerVison is showing github.com — Remove the express-only option · stepcode/stepcode@4bf478b
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: cmake/SC_Build_opts.cmake +3-8Lines changed: 3 additions & 8 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -27,9 +27,6 @@ OPTION_WITH_DEFAULT(SC_CPP_GENERATOR "Compile exp2cxx" ON) |
27 | 27 | OPTION_WITH_DEFAULT(SC_MEMMGR_ENABLE_CHECKS "Enable sc_memmgr's memory leak detection" OFF) |
28 | 28 | OPTION_WITH_DEFAULT(SC_TRACE_FPRINTF "Enable extra comments in generated code so the code's source in exp2cxx may be located" OFF) |
29 | 29 |
|
30 | | -option(SC_BUILD_EXPRESS_ONLY "Only build express parser." OFF) |
31 | | -mark_as_advanced(SC_BUILD_EXPRESS_ONLY) |
32 | | - |
33 | 30 | option(DEBUGGING_GENERATED_SOURCES "disable md5 verification of generated sources" OFF) |
34 | 31 | mark_as_advanced(DEBUGGING_GENERATED_SOURCES) |
35 | 32 |
|
@@ -51,12 +48,10 @@ endif(SC_ENABLE_COVERAGE) |
51 | 48 | #--------------------------------------------------------------------- |
52 | 49 | # Testing option |
53 | 50 | OPTION_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 |
58 | 53 | include(CTest) |
59 | | -endif(SC_ENABLE_TESTING) |
| 54 | +endif() |
60 | 55 |
|
61 | 56 | #--------------------------------------------------------------------- |
62 | 57 | # Executable install option |
|
Collapse file
Copy file name to clipboardExpand all lines: data/CMakeLists.txt +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
10 | 10 | # .exp file inside, which it uses. otherwise, ${path} is assumed to |
11 | 11 | # be an express file. |
12 | 12 |
|
13 | | -if(NOT ${SC_BUILD_EXPRESS_ONLY} AND NOT "${SC_BUILD_SCHEMAS}" STREQUAL "") |
| 13 | +if(NOT "${SC_BUILD_SCHEMAS}" STREQUAL "") |
14 | 14 | include(${SC_CMAKE_DIR}/schema_scanner/schemaScanner.cmake) |
15 | 15 | foreach(src ${SC_SDAI_ADDITIONAL_EXES_SRCS}) |
16 | 16 | get_filename_component(name ${src} NAME_WE) |
|
Collapse file
Copy file name to clipboardExpand all lines: test/CMakeLists.txt +2-4Lines changed: 2 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -13,10 +13,8 @@ foreach(UNITARY_SCHEMA ${UNITARY_SCHEMAS}) |
13 | 13 | endif( UNITARY_SCHEMA MATCHES "fail_.*" ) |
14 | 14 | endforeach(UNITARY_SCHEMA ${UNITARY_SCHEMAS}) |
15 | 15 |
|
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) |
20 | 18 |
|
21 | 19 | # Local Variables: |
22 | 20 | # tab-width: 8 |
|