mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
cmake: Group test targets into tests folder in IDEs
This simplifies fish project as shown in IDEs. No change to command line build systems.
This commit is contained in:
parent
1d7036d19f
commit
0a277bf8c3
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,9 @@ if(NOT CTEST_PARALLEL_LEVEL)
|
|||
set(CTEST_PARALLEL_LEVEL ${CORES})
|
||||
endif()
|
||||
|
||||
# Put in a tests folder to reduce the top level targets in IDEs.
|
||||
set(CMAKE_FOLDER tests)
|
||||
|
||||
# We will use 125 as a reserved exit code to indicate that a test has been skipped, i.e. it did not
|
||||
# pass but it should not be considered a failed test run, either.
|
||||
set(SKIP_RETURN_CODE 125)
|
||||
|
|
Loading…
Reference in a new issue