add cxx flag -Wpedantic
mkdir build -p
cd build
+
+CXX_FLAGS=${CXX_FLAGS}:-Wpedantic
+
cmake -G "Ninja" \
-D CMAKE_BUILD_TYPE:STRING=Release \
-D CMAKE_PREFIX_PATH:FILEPATH=$PREFIX \
@@ -8,6 +11,7 @@ cmake -G "Ninja" \
-D BUILD_PY_LIB:BOOL=ON \
-D USE_PY_3:BOOL=ON \
-D Boost_NO_BOOST_CMAKE:BOOL=ON \
+ -D CMAKE_CXX_FLAGS:STRING="-Wpedantic" \
../src
ninja install
\ No newline at end of file
