File tree 2 files changed +5
-8
lines changed
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,8 @@ add_library(thinks_obj_io INTERFACE)
12
12
target_sources (thinks_obj_io INTERFACE ${header_files} )
13
13
target_include_directories (thinks_obj_io INTERFACE include )
14
14
15
- string (TOLOWER "${CMAKE_CURRENT_SOURCE_DIR} " current_source_dir_lower)
16
- string (TOLOWER "${CMAKE_SOURCE_DIR} " source_dir_lower)
17
- if (current_source_dir_lower STREQUAL source_dir_lower)
15
+ if ($<LOWER_CASE:${CMAKE_CURRENT_SOURCE_DIR} > STREQUAL
16
+ $<LOWER_CASE:${CMAKE_SOURCE_DIR} >)
18
17
message (STATUS "obj-io: enable testing" )
19
18
enable_testing ()
20
19
add_subdirectory (test )
Original file line number Diff line number Diff line change @@ -249,13 +249,11 @@ The tests for this distribution are written in the [catch2](https://github.com/c
249
249
250
250
Running the tests is simple. In a terminal do the following (and similar for ` Debug ` ):
251
251
``` bash
252
- $ cd d:
253
- $ git clone git@github.com:/thinks/obj-io.git D:/obj-io
254
- $ mkdir build-obj-io
255
- $ cd build-obj-io
252
+ $ git clone git@github.com:/thinks/obj-io.git
253
+ $ mkdir build && cd build
256
254
$ cmake ../obj-io
257
255
$ cmake --build . --config Release
258
- $ ctest . -C Release
256
+ $ ctest . -C Release --verbose
259
257
```
260
258
For more detailed test output locate the test executable (_ thinks_obj_io_test.exe_ ) in the build tree and run it directly.
261
259
You can’t perform that action at this time.
0 commit comments