summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2024-06-06 17:15:31 -0600
committerKiritoDv <kiritodev01@gmail.com>2024-06-06 17:15:31 -0600
commit521452cb6aea6034859546dffb0bc18d3880d4db (patch)
tree880972ee647de8e7f07b75a9e978e40b580feab2
parent98cf6c0c139bfd0079da4c77f8519db035858ecc (diff)
Reverted MTd to MDd
-rw-r--r--CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6e13ce7..7cf1fb2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -58,7 +58,7 @@ if (USE_STANDALONE)
add_definitions(-DSTANDALONE)
add_executable(${PROJECT_NAME} ${SRC_DIR})
else()
- add_library(${PROJECT_NAME} STATIC ${SRC_DIR})
+ add_library(${PROJECT_NAME} SHARED ${SRC_DIR})
endif()
if(NOT CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
@@ -71,13 +71,13 @@ else()
$<$<CONFIG:Debug>:
/w;
/Od;
- /MTd
+ /MDd
>
$<$<CONFIG:Release>:
/Oi;
/Gy;
/W3;
- /MT
+ /MD
>
/STACK:16777216
/permissive-;
@@ -89,13 +89,13 @@ else()
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
target_compile_options(${PROJECT_NAME} PRIVATE
$<$<CONFIG:Debug>:
- /MTd
+ /MDd
>
$<$<CONFIG:Release>:
/O2;
/Oi;
/Gy;
- /MT
+ /MD
>
/STACK:16777216
/permissive-;