mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-19 14:52:40 +08:00
Windows: Suppressing the Warning When Linking (#15943)
This commit is contained in:
@@ -3105,6 +3105,11 @@ if(MSVC)
|
||||
/wd4098 # defaultlib conflicts
|
||||
/wd4099 # PDB 'filename' was not found with 'object/library' or at 'path'; linking object as if no debug info
|
||||
)
|
||||
target_link_options(${ENGINE_NAME} PUBLIC
|
||||
/ignore:4099 # PDB 'filename' was not found with 'object/library' or at 'path'; linking object as if no debug info
|
||||
/ignore:4098 # defaultlib 'library' conflicts with use of other libs; use /NODEFAULTLIB:library
|
||||
/ignore:4204 # 'filename' is missing debugging information for referencing module; linking object as if no debug info
|
||||
)
|
||||
endif()
|
||||
|
||||
if(CC_USE_VULKAN)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.8)
|
||||
cmake_minimum_required(VERSION 3.18)
|
||||
|
||||
set(APP_NAME "CocosGame" CACHE STRING "Project Name")
|
||||
project(${APP_NAME} CXX)
|
||||
|
||||
Reference in New Issue
Block a user