"...text-generation-inference.git" did not exist on "702d26972951ae73f2ec7bbc589caa3fd03568f6"
Commit 60a1de67 authored by Davis King's avatar Davis King
Browse files

Simplified the cmake files by putting the stuff to make Release

the default build into a single file.
parent 7dfea35c
#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()
...@@ -13,11 +13,7 @@ endif() ...@@ -13,11 +13,7 @@ endif()
#set default build type to Release #set default build type to Release
if(NOT CMAKE_BUILD_TYPE) include(../dlib/release_build_by_default)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING
"Choose the type of build, options are: Debug Release
RelWithDebInfo MinSizeRel." FORCE)
endif()
......
...@@ -41,9 +41,5 @@ INSTALL(TARGETS ${target_name} ...@@ -41,9 +41,5 @@ INSTALL(TARGETS ${target_name}
#set default build type to Release #set default build type to Release
if(NOT CMAKE_BUILD_TYPE) include(../../dlib/release_build_by_default)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING
"Choose the type of build, options are: Debug Release
RelWithDebInfo MinSizeRel." FORCE)
endif()
...@@ -39,11 +39,5 @@ INSTALL(TARGETS ${target_name} ...@@ -39,11 +39,5 @@ INSTALL(TARGETS ${target_name}
RUNTIME DESTINATION bin RUNTIME DESTINATION bin
) )
#set default build type to Release #set default build type to Release
if(NOT CMAKE_BUILD_TYPE) include(../../dlib/release_build_by_default)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING
"Choose the type of build, options are: Debug Release
RelWithDebInfo MinSizeRel." FORCE)
endif()
...@@ -41,11 +41,6 @@ INSTALL(TARGETS ${target_name} ...@@ -41,11 +41,6 @@ INSTALL(TARGETS ${target_name}
RUNTIME DESTINATION bin RUNTIME DESTINATION bin
) )
#set default build type to Release #set default build type to Release
if(NOT CMAKE_BUILD_TYPE) include(../../dlib/release_build_by_default)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING
"Choose the type of build, options are: Debug Release
RelWithDebInfo MinSizeRel." FORCE)
endif()
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