Skip to content
Snippets Groups Projects
Commit bc533650 authored by Steven Murray's avatar Steven Murray
Browse files

Added set(CMAKE_BUILD_TYPE Debug) to the top level CMakeList.txt file.

parent 191612f2
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,9 @@
cmake_minimum_required (VERSION 2.6)
project(castor)
set(CMAKE_BUILD_TYPE Debug)
if ("${CMAKE_SOURCE_DIR}" MATCHES "${CMAKE_BINARY_DIR}")
message (SEND_ERROR "In source building not supported. Please run something like: \"mkdir ../build; ( src=`pwd`; cd ../build; cmake $src ); make -C ../build\"")
message (SEND_ERROR "Now that you reached that point you will unfortnately have to cleanup your source directory: \"rm -rf CMakeFiles/ CMakeCache.txt\". Sorry!")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment