Skip to content
Snippets Groups Projects
Commit d9efb9d8 authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'feature/add-hint-to-disable-prop-macro-warning' into 'master'

Feature/add hint to disable prop macro warning

See merge request !1679
parents 83a3e372 2265972e
No related branches found
No related tags found
1 merge request!1679Feature/add hint to disable prop macro warning
...@@ -42,14 +42,18 @@ OPM_FLAGS="" ...@@ -42,14 +42,18 @@ OPM_FLAGS=""
# set this to "ON" if you want to be able to have the headercheck target # set this to "ON" if you want to be able to have the headercheck target
DUMUX_ENABLE_HEADERCHECK=OFF DUMUX_ENABLE_HEADERCHECK=OFF
# to disable the property macros and the warning set this (set it if you don't use the macros anymore)
DUMUX_DISABLE_PROP_MACROS=""
#DUMUX_DISABLE_PROP_MACROS="-DDUMUX_ENABLE_OLD_PROPERTY_MACROS=0"
# for debug opts you can set DCMAKE_BUILD_TYPE to "Debug" or "RelWithDebInfo" # for debug opts you can set DCMAKE_BUILD_TYPE to "Debug" or "RelWithDebInfo"
# you can also do this in any of the CMakeLists.txt in Dumux # you can also do this in any of the CMakeLists.txt in Dumux
# just rerun cmake again afterwards (run cmake <path-to-build-dir>) # just rerun cmake again afterwards (run cmake <path-to-build-dir>)
CMAKE_FLAGS="$SPECIFIC_COMPILER $SPECIFIC_GENERATOR $OPM_FLAGS CMAKE_FLAGS="$SPECIFIC_COMPILER $SPECIFIC_GENERATOR $OPM_FLAGS
-DCMAKE_CXX_FLAGS_RELEASE='$GXX_RELEASE_OPTS $GXX_RELEASE_WARNING_OPTS' -DCMAKE_CXX_FLAGS_RELEASE='$GXX_RELEASE_OPTS $GXX_RELEASE_WARNING_OPTS $DUMUX_DISABLE_PROP_MACROS'
-DCMAKE_CXX_FLAGS_DEBUG='-O0 -g -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare' -DCMAKE_CXX_FLAGS_DEBUG='-O0 -g -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare $DUMUX_DISABLE_PROP_MACROS'
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO='$GXX_RELEASE_OPTS $GXX_RELEASE_WARNING_OPTS -g -ggdb -Wall' -DCMAKE_CXX_FLAGS_RELWITHDEBINFO='$GXX_RELEASE_OPTS $GXX_RELEASE_WARNING_OPTS -g -ggdb -Wall $DUMUX_DISABLE_PROP_MACROS'
-DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release
-DENABLE_HEADERCHECK=$DUMUX_ENABLE_HEADERCHECK -DENABLE_HEADERCHECK=$DUMUX_ENABLE_HEADERCHECK
-DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE -DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE
......
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