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

Added stricter compilation flags to the top CMakeLists.txt file

parent 0f6657c2
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,9 @@ cmake_minimum_required (VERSION 2.6)
project(cta)
set(CMAKE_C_FLAGS "-fPIC -pedantic -Wall -Wextra -Werror -Wno-unused-parameter")
set(CMAKE_CXX_FLAGS "-fPIC -pedantic -Wall -Wextra -Werror -Wno-unused-parameter")
# Explicitly setting the C and C++ compiler flags for the RelWithDebInfo build
# in order to prevent the -O2 flag from being used.
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-g")
......
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