2023-04-15 05:14:37 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2023-10-24 02:14:14 +08:00
|
|
|
index 9775c89..a4dfc2a 100644
|
2023-04-15 05:14:37 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2023-10-24 02:14:14 +08:00
|
|
|
@@ -235,7 +235,7 @@ include(cmake/mkvk.cmake)
|
|
|
|
# Global compile & link options including optimization flags
|
|
|
|
if(MSVC)
|
|
|
|
add_compile_options( /W4;/WX )
|
2023-04-15 05:14:37 +08:00
|
|
|
- add_compile_options( $<IF:$<CONFIG:Debug>,/Gz,/O2> )
|
|
|
|
+ add_compile_options( $<IF:$<CONFIG:Debug>,,/O2> )
|
|
|
|
elseif(${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU"
|
|
|
|
OR ${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
|
2023-10-24 02:14:14 +08:00
|
|
|
add_compile_options(-Wall -Wextra -Werror)
|
|
|
|
@@ -851,6 +851,7 @@ if(EMSCRIPTEN)
|
2023-04-15 05:14:37 +08:00
|
|
|
endif()
|
|
|
|
|
|
|
|
add_library( objUtil STATIC
|
|
|
|
+ EXCLUDE_FROM_ALL
|
|
|
|
utils/argparser.cpp
|
|
|
|
utils/argparser.h
|
|
|
|
utils/ktxapp.h
|