Skip to content
Extraits de code Groupes Projets
Vérifiée Valider 4b70d2b3 rédigé par Kubat's avatar Kubat
Parcourir les fichiers

BUILD: Don't force the -g with CFLAGS

If a debug build is needed, use the following invocation of cmake:
    cmake -Bbuild -DCMAKE_BUILD_TYPE=Debug

Where:
* -B stands for the build folder
* -DCMAKE_BUILD_TYPE stands for the release type (Debug or Release)
parent e28f85cb
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!3Add documents
...@@ -24,8 +24,6 @@ find_library(AVFORMAT_LIBRARY avformat REQUIRED) ...@@ -24,8 +24,6 @@ find_library(AVFORMAT_LIBRARY avformat REQUIRED)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fopenmp") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fopenmp")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
# Grab all files # Grab all files
file(GLOB Vivy_SRC file(GLOB Vivy_SRC
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter