mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-05-03 22:13:51 +00:00
Adding filename to name
This commit is contained in:
parent
8e87df2a6c
commit
7472295d95
@ -13,7 +13,7 @@
|
|||||||
* `CLI::RuntimeError` added, for easy exit with error codes [#45](https://github.com/CLIUtils/CLI11/pull/45)
|
* `CLI::RuntimeError` added, for easy exit with error codes [#45](https://github.com/CLIUtils/CLI11/pull/45)
|
||||||
* The clang-format script is now no longer "hidden" [#48](https://github.com/CLIUtils/CLI11/pull/48)
|
* The clang-format script is now no longer "hidden" [#48](https://github.com/CLIUtils/CLI11/pull/48)
|
||||||
* The order is now preserved for subcommands (list and callbacks) [#49](https://github.com/CLIUtils/CLI11/pull/49)
|
* The order is now preserved for subcommands (list and callbacks) [#49](https://github.com/CLIUtils/CLI11/pull/49)
|
||||||
* Tests now run individually, utilizing CMake 3.10 additions if possible
|
* Tests now run individually, utilizing CMake 3.10 additions if possible [#50](https://github.com/CLIUtils/CLI11/pull/50)
|
||||||
|
|
||||||
|
|
||||||
## Version 1.2
|
## Version 1.2
|
||||||
|
@ -44,10 +44,12 @@ macro(add_gtest TESTNAME)
|
|||||||
if(GOOGLE_TEST_INDIVIDUAL)
|
if(GOOGLE_TEST_INDIVIDUAL)
|
||||||
if(CMAKE_VERSION VERSION_LESS 3.10)
|
if(CMAKE_VERSION VERSION_LESS 3.10)
|
||||||
gtest_add_tests(TARGET ${TESTNAME}
|
gtest_add_tests(TARGET ${TESTNAME}
|
||||||
|
TEST_PREFIX "${TESTNAME}."
|
||||||
TEST_LIST TmpTestList)
|
TEST_LIST TmpTestList)
|
||||||
set_tests_properties(${TmpTestList} PROPERTIES FOLDER "Tests")
|
set_tests_properties(${TmpTestList} PROPERTIES FOLDER "Tests")
|
||||||
else()
|
else()
|
||||||
gtest_discover_tests(${TESTNAME}
|
gtest_discover_tests(${TESTNAME}
|
||||||
|
TEST_PREFIX "${TESTNAME}."
|
||||||
PROPERTIES FOLDER "Tests")
|
PROPERTIES FOLDER "Tests")
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user