Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 88fb49e

Browse files
authored
Remove Wall and show mod files compiled during CMake (#124)
1 parent 41ef177 commit 88fb49e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CMake/config/CompilerFlagsHelpers.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ foreach(COMPILER_LANGUAGE ${SUPPORTED_COMPILER_LANGUAGE_LIST})
9595
## GCC
9696
elseif(CMAKE_${COMPILER_LANGUAGE}_COMPILER_IS_GCC)
9797

98-
set(CMAKE_${COMPILER_LANGUAGE}_WARNING_ALL "-Wall -Wextra")
98+
set(CMAKE_${COMPILER_LANGUAGE}_WARNING_ALL "")
9999
set(CMAKE_${COMPILER_LANGUAGE}_DEBUGINFO_FLAGS "-g")
100100

101101
set(CMAKE_${COMPILER_LANGUAGE}_OPT_NONE "-O0")

coreneuron/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ macro(mod2c_from_file name modlist searchpath)
113113
string(REGEX REPLACE "[ \t\n]+" ";" mods_ "${mods_}")
114114
list(REMOVE_ITEM mods_ "")
115115
list(APPEND added_mod_files "")
116+
list(APPEND mod_filenames "")
116117

117118
foreach(mod_ ${mods_})
118119
unset(modpath_)
@@ -137,6 +138,7 @@ macro(mod2c_from_file name modlist searchpath)
137138
message(FATAL_ERROR "Multiple ${filename} exist in the search path, list of mod files found : ${modpath_} ${added_mod_files}")
138139
else()
139140
list(APPEND added_mod_files "${modpath_}")
141+
list(APPEND mod_filenames "${filename}")
140142
mod2c_target(${name} "${modpath_}")
141143
list(APPEND MOD_PATHS ${modpath_})
142144
endif()
@@ -160,6 +162,7 @@ macro(mod2c_from_file name modlist searchpath)
160162
message(STATUS "Adding halfgap.mod mod file for tests!")
161163
endif()
162164

165+
message(STATUS "MOD files used : ${mod_filenames}")
163166
endmacro()
164167

165168
# Standard MOD files are always built

0 commit comments

Comments
 (0)