Skip to content
Snippets Groups Projects
Commit 1eb83262 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

Print info line below ctest output

parent c803f8c1
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,16 @@ ...@@ -16,6 +16,16 @@
*.so *.so
*.so.* *.so.*
*.pyc *.pyc
*.aux
*.bbl
*.blg
*.idx
*.ilg
*.ind
*.log
*.nlo
*.out
*.toc
a.out a.out
html/ html/
frida2-*/ frida2-*/
......
File added
...@@ -10,7 +10,10 @@ project(Frida) ...@@ -10,7 +10,10 @@ project(Frida)
set(Frida_VERSION post-2.3.3c) set(Frida_VERSION post-2.3.3c)
enable_testing() include(CTest) # equivalent to "enable_testing() ???
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}) # => 'make check' is an alias for 'ctest'
configure_file(${CMAKE_SOURCE_DIR}/cmake/scripts/CTestCustom.cmake.in
${CMAKE_BINARY_DIR}/CTestCustom.cmake)
# --- General project settings --- # --- General project settings ---
#option(FRIDA_PYTHON "Build with python support" ON) #option(FRIDA_PYTHON "Build with python support" ON)
......
...@@ -7,13 +7,13 @@ function(prevent_in_source_builds) ...@@ -7,13 +7,13 @@ function(prevent_in_source_builds)
# disallow in-source builds # disallow in-source builds
if("${srcdir}" STREQUAL "${bindir}") if("${srcdir}" STREQUAL "${bindir}")
message("###########################################################################") message(FATAL_ERROR "\
message("CMake must not to be run in the source directory.")
message("Rather create a dedicated build directory and run CMake there.") CMake must not to be run in the source directory. \
message("To clean up after this aborted in-place compilation:") Rather create a dedicated build directory and run CMake there. \
message(" rm -r CMakeCache.txt CMakeFiles/") To clean up after this aborted in-place compilation:
message("###########################################################################") rm -r CMakeCache.txt CMakeFiles
message(FATAL_ERROR "Quitting configuration") ")
endif() endif()
endfunction() endfunction()
......
set(CTEST_CUSTOM_POST_TEST "echo For details, see the log files in Testing/Temporary/")
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
//************************************************************************************************** //**************************************************************************************************
#include <sstream> #include <sstream>
#include <vector>
namespace triv { namespace triv {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment