diff options
Diffstat (limited to 'ml/dlib/dlib/cmake_utils/release_build_by_default')
-rw-r--r-- | ml/dlib/dlib/cmake_utils/release_build_by_default | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ml/dlib/dlib/cmake_utils/release_build_by_default b/ml/dlib/dlib/cmake_utils/release_build_by_default new file mode 100644 index 000000000..1b0e95831 --- /dev/null +++ b/ml/dlib/dlib/cmake_utils/release_build_by_default @@ -0,0 +1,9 @@ + +#set default build type to Release +if(NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE "Release" CACHE STRING + "Choose the type of build, options are: Debug Release + RelWithDebInfo MinSizeRel." FORCE) +endif() + + |