mirror of https://github.com/AxioDL/metaforce.git
Windows fixes
This commit is contained in:
parent
3b9f91caae
commit
e01105256c
|
@ -2,8 +2,12 @@ cmake_minimum_required(VERSION 3.0)
|
||||||
cmake_policy(SET CMP0054 NEW)
|
cmake_policy(SET CMP0054 NEW)
|
||||||
project(urde)
|
project(urde)
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
|
if(${CMAKE_GENERATOR} MATCHES "Visual Studio*")
|
||||||
|
set(VS_DEFINES "/MP")
|
||||||
|
endif()
|
||||||
|
|
||||||
# Shaddup MSVC
|
# Shaddup MSVC
|
||||||
add_definitions(-DUNICODE=1 -D_UNICODE=1 -D__SSE__=1 -D_CRT_SECURE_NO_WARNINGS=1 -DD_SCL_SECURE_NO_WARNINGS=1 /wd4267 /wd4244 /wd4305 /MP)
|
add_definitions(-DUNICODE=1 -D_UNICODE=1 -D__SSE__=1 -D_CRT_SECURE_NO_WARNINGS=1 -DD_SCL_SECURE_NO_WARNINGS=1 /wd4267 /wd4244 /wd4305 ${VS_DEFINES})
|
||||||
|
|
||||||
# Link-time Code Generation for Release builds
|
# Link-time Code Generation for Release builds
|
||||||
set(CMAKE_C_FLAGS_RELEASE "/DNDEBUG /O2 /Oy /GL /Gy /MD")
|
set(CMAKE_C_FLAGS_RELEASE "/DNDEBUG /O2 /Oy /GL /Gy /MD")
|
||||||
|
|
2
hecl
2
hecl
|
@ -1 +1 @@
|
||||||
Subproject commit f17dcd4d03b87262594a89bdae2c8426c8b50978
|
Subproject commit 0df19b29fbc5024511d3bb444e9b9f7ef57d766d
|
2
nod
2
nod
|
@ -1 +1 @@
|
||||||
Subproject commit 556a5868bb79d740d5cfd5eccd5135c2fd0f39c1
|
Subproject commit 6302acfce46ceb6f2faf4bc22fa2b598c3daa7bb
|
Loading…
Reference in New Issue