|
1 | 1 | *********************************************************************** |
2 | | -Step Class Library v0.2 -- https://github.com/mpictor/StepClassLibrary |
| 2 | +Step Class Library v0.3 -- https://github.com/mpictor/StepClassLibrary |
3 | 3 |
|
4 | 4 | * What is SCL? SCL reads ISO10303-11 EXPRESS schemas and generates |
5 | 5 | C++ source code that can read and write Part 21 files conforming |
@@ -39,12 +39,19 @@ Step Class Library v0.2 -- https://github.com/mpictor/StepClassLibrary |
39 | 39 | otherwise, the input and output files should be identical. If |
40 | 40 | they are not identical, either the file does not match the |
41 | 41 | schema, or SCL generated incorrect source code. |
42 | | - -DDISABLE_P21READ=TRUE |
43 | | - - disable p21read. probably not a useful option. |
| 42 | + -DBUILD_SCHEMAS=ALL |
| 43 | + - Added to make use of ctest easier. If BUILD_SCHEMAS == ALL, |
| 44 | + then CMake adds each *.exp file found in data/. |
44 | 45 | -DCMAKE_BUILD_TYPE=Release |
45 | 46 | - this causes binaries to be built without debugging information |
46 | 47 | - without this, cmake defaults to a Debug build |
47 | 48 |
|
| 49 | +* Using CTest to test SCL: |
| 50 | + - Read the comments in run_ctest.cmake |
| 51 | + - (OPTIONAL) Create scl/../.SCL_CTEST_PREFS.cmake, and set variables |
| 52 | + in it (this file is required for CDash submission to be enabled) |
| 53 | + - Run tests with `ctest -S run_ctest.cmake` |
| 54 | + |
48 | 55 | *********************************************************************** |
49 | 56 |
|
50 | 57 | *********************************************************************** |
|
0 commit comments