fixed #123 - changed the output style in the console - gcc/clang output with :n: around line numbers and other compilers output with (n) - there is also a documented option for this. Also changed lots of code - thank god I moved to streams!
!!! output not regenerated yet - next commit!
diff --git a/scripts/cmake/common.cmake b/scripts/cmake/common.cmake
index d4dc7d8..800b80a 100644
--- a/scripts/cmake/common.cmake
+++ b/scripts/cmake/common.cmake
@@ -39,6 +39,8 @@
set(the_command "${the_command} --dt-no-line-numbers=1")
# append the argument for ignoring the exit code of the test programs because some are intended to have failing tests
set(the_command "${the_command} --dt-no-exitcode=1")
+ # append the argument for using the same line format in the output - so gcc/non-gcc builds have the same output
+ set(the_command "${the_command} --dt-gnu-file-line=0")
string(STRIP ${the_command} the_command)
diff --git a/scripts/playground/CMakeLists.txt b/scripts/playground/CMakeLists.txt
index cecb54d..6da7359 100644
--- a/scripts/playground/CMakeLists.txt
+++ b/scripts/playground/CMakeLists.txt
@@ -9,3 +9,6 @@
doctest_add_executable(${PROJECT_NAME} main.cpp test.cpp)
doctest_add_test(NAME ${PROJECT_NAME} COMMAND $<TARGET_FILE:${PROJECT_NAME}> -nv)
+
+#add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD COMMAND $<TARGET_FILE:${PROJECT_NAME}>)
+#add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD COMMAND ctest -C $<CONFIGURATION> --output-on-failure)
diff --git a/scripts/random_dev_notes.md b/scripts/random_dev_notes.md
index 85fe117..861e3e8 100644
--- a/scripts/random_dev_notes.md
+++ b/scripts/random_dev_notes.md
@@ -1,10 +1,4 @@
-check console colors after refactor...
-
-(num) vs :num: for line numbers (__GNUG__) (also test with a post-build command to run the tests - if the errors are in the IDE)
-
-
-
https://github.com/catchorg/Catch2/commit/de36b2ada6e4593a9a32c4c86cd47d4bc002b148
add [[noreturn]] to MessageBuilder::react() - and actually make a separate function (react2) for the FAIL() case