mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
Under MSVC, build project-sources in parallel.
This commit is contained in:
@@ -23,6 +23,11 @@ if(WINDOWS_STORE)
|
|||||||
target_compile_options(sdl-build-options INTERFACE "-ZW")
|
target_compile_options(sdl-build-options INTERFACE "-ZW")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Build in parallel under Visual Studio. Not enabled by default.
|
||||||
|
if(MSVC)
|
||||||
|
target_compile_options(sdl-build-options INTERFACE "/MP")
|
||||||
|
endif(MSVC)
|
||||||
|
|
||||||
|
|
||||||
# !!! FIXME: this should probably do "MACOSX_RPATH ON" as a target property
|
# !!! FIXME: this should probably do "MACOSX_RPATH ON" as a target property
|
||||||
# !!! FIXME: for the SDL2 shared library (so you get an
|
# !!! FIXME: for the SDL2 shared library (so you get an
|
||||||
|
|||||||
Reference in New Issue
Block a user