summaryrefslogtreecommitdiffstats
path: root/TestBuildScript.cmake
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-03-05 17:04:46 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-03-05 17:04:46 +0000
commite9274a4faa9650066c319c809fefca19a13a8a35 (patch)
tree1e49223849885d55aa7da9cb104ba65b452ba9aa /TestBuildScript.cmake
parentEnabled build customization (diff)
downloadDiligentEngine-e9274a4faa9650066c319c809fefca19a13a8a35.tar.gz
DiligentEngine-e9274a4faa9650066c319c809fefca19a13a8a35.zip
Updated readme; remvoed TestBuildScript.cmake
Diffstat (limited to 'TestBuildScript.cmake')
-rw-r--r--TestBuildScript.cmake23
1 files changed, 0 insertions, 23 deletions
diff --git a/TestBuildScript.cmake b/TestBuildScript.cmake
deleted file mode 100644
index c11f812..0000000
--- a/TestBuildScript.cmake
+++ /dev/null
@@ -1,23 +0,0 @@
-
-function(custom_configure_build)
- if(CMAKE_CONFIGURATION_TYPES)
- # Debug configurations
- set(DEBUG_CONFIGURATIONS DEBUG CACHE INTERNAL "" FORCE)
- # Release (optimized) configurations
- set(RELEASE_CONFIGURATIONS RELEASEMT CACHE INTERNAL "" FORCE)
- # CMAKE_CONFIGURATION_TYPES variable defines build configurations generated by cmake
- set(CMAKE_CONFIGURATION_TYPES Debug ReleaseMT CACHE STRING "Configuration types: Debug, ReleaseMT" FORCE)
-
- set(CMAKE_CXX_FLAGS_RELEASEMT "/MT" CACHE INTERNAL "" FORCE)
- set(CMAKE_C_FLAGS_RELEASEMT "/MT" CACHE INTERNAL "" FORCE)
- set(CMAKE_EXE_LINKER_FLAGS_RELEASEMT "/OPT:REF" CACHE INTERNAL "" FORCE)
- set(CMAKE_SHARED_LINKER_FLAGS_RELEASEMT "/OPT:REF" CACHE INTERNAL "" FORCE)
- endif()
-endfunction()
-
-function(custom_configure_target TARGET)
- set_target_properties(${TARGET} PROPERTIES
- STATIC_LIBRARY_FLAGS_RELEASEMT /LTCG
- )
- #set(TARGET_CONFIGURATION_COMPLETE TRUE PARENT_SCOPE)
-endfunction() \ No newline at end of file