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 @@
*.so
*.so.*
*.pyc
*.aux
*.bbl
*.blg
*.idx
*.ilg
*.ind
*.log
*.nlo
*.out
*.toc
a.out
html/
frida2-*/
......
File added
......@@ -10,7 +10,10 @@ project(Frida)
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 ---
#option(FRIDA_PYTHON "Build with python support" ON)
......
......@@ -7,13 +7,13 @@ function(prevent_in_source_builds)
# disallow in-source builds
if("${srcdir}" STREQUAL "${bindir}")
message("###########################################################################")
message("CMake must not to be run in the source directory.")
message("Rather create a dedicated build directory and run CMake there.")
message("To clean up after this aborted in-place compilation:")
message(" rm -r CMakeCache.txt CMakeFiles/")
message("###########################################################################")
message(FATAL_ERROR "Quitting configuration")
message(FATAL_ERROR "\
CMake must not to be run in the source directory. \
Rather create a dedicated build directory and run CMake there. \
To clean up after this aborted in-place compilation:
rm -r CMakeCache.txt CMakeFiles
")
endif()
endfunction()
......
set(CTEST_CUSTOM_POST_TEST "echo For details, see the log files in Testing/Temporary/")
......@@ -6,6 +6,7 @@
//**************************************************************************************************
#include <sstream>
#include <vector>
namespace triv {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment