Windows fixes

This commit is contained in:
Jack Andersen 2017-12-26 18:12:28 -10:00
parent 4b53046a51
commit a01aa30e76
4 changed files with 5 additions and 5 deletions

View File

@ -26,10 +26,10 @@ option(URDE_AVX2 "Enable AVX2 flags." Off)
if(MSVC) if(MSVC)
if(URDE_AVX2) if(URDE_AVX2)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /arch:AVX2 -D__SSE4_1__=1") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /arch:AVX2 -D__SSE4_1__=1")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /arch:SSE2 -D__SSE4_1__=1") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /arch:AVX2 -D__SSE4_1__=1")
elseif(URDE_AVX) elseif(URDE_AVX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /arch:AVX -D__SSE4_1__=1") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /arch:AVX -D__SSE4_1__=1")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /arch:SSE2 -D__SSE4_1__=1") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /arch:AVX -D__SSE4_1__=1")
elseif(URDE_SSE41) elseif(URDE_SSE41)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__SSE4_1__=1") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__SSE4_1__=1")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__SSE4_1__=1") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__SSE4_1__=1")

View File

@ -165,7 +165,7 @@ int wmain(int argc, const boo::SystemChar** argv)
int main(int argc, const boo::SystemChar** argv) int main(int argc, const boo::SystemChar** argv)
#endif #endif
{ {
if (argc > 1 && !strcmp(argv[1], "--dlpackage")) if (argc > 1 && !hecl::StrCmp(argv[1], _S("--dlpackage")))
{ {
printf("%s\n", URDE_DLPACKAGE); printf("%s\n", URDE_DLPACKAGE);
return 100; return 100;

@ -1 +1 @@
Subproject commit 467a3996abbb56672c413cddf1c07f8e20f9c9be Subproject commit a389cbcb01369cd2e3cb83eb5e0027478332275a

@ -1 +1 @@
Subproject commit f5049df11e37fafadbccde5c946fa07377ed375a Subproject commit ef0bd9549b61e0d7f1d5d2bf0a5f83268cebbba7