cmake only once.

This commit is contained in:
Ye Luo 2018-08-03 13:18:22 -05:00
parent ec1f4dba3b
commit c44f853d5e
2 changed files with 0 additions and 10 deletions

View File

@ -286,15 +286,6 @@ CTEST_CONFIGURE(
)
IF ( DEFINED CMAKE_TOOLCHAIN_FILE )
#need to trigger the cmake configuration twice
CTEST_CONFIGURE(
BUILD ${CTEST_BINARY_DIRECTORY}
SOURCE ${CTEST_SOURCE_DIRECTORY}
OPTIONS "${CTEST_OPTIONS}"
)
ENDIF()
# Run the configure, build and tests
CTEST_BUILD()
IF ( USE_VALGRIND )

View File

@ -29,7 +29,6 @@ mkdir $folder
cd $folder
if [ ! -f CMakeCache.txt ] ; then
cmake $CMAKE_FLAGS ..
cmake $CMAKE_FLAGS ..
fi
make -j24
cd ..