newapkbuild: add default check to CMake and RelWithDebugInfo type

parent d83b8ceb
......@@ -65,11 +65,16 @@ build_cmake() {
-DCMAKE_INSTALL_PREFIX=/usr \\
-DCMAKE_INSTALL_LIBDIR=lib \\
-DBUILD_SHARED_LIBS=True \\
-DCMAKE_BUILD_TYPE=Release \\
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \\
-DCMAKE_CXX_FLAGS="\$CXXFLAGS" \\
-DCMAKE_C_FLAGS="\$CFLAGS" \\
\${CMAKE_CROSSOPTS}
make
}
check() {
cd "\$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
__EOF__
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment