mirror of
https://github.com/hasherezade/pe-bear.git
synced 2026-10-12 02:15:21 +00:00
[NOBIN] Enabled multiprocessed compilation in MSVC
This commit is contained in:
@@ -39,6 +39,10 @@ else()
|
||||
message(STATUS "capstone_lib='${CAPSTONE_LIB}'")
|
||||
endif ()
|
||||
|
||||
# multi-processor compilation
|
||||
if(MSVC)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
|
||||
endif()
|
||||
|
||||
set (disasm_srcs
|
||||
Disasm.cpp
|
||||
|
||||
@@ -291,6 +291,11 @@ SOURCE_GROUP("Header Files\\gui\\pe_models" FILES ${pebear_gui_pe_mod_hdrs} )
|
||||
SOURCE_GROUP("Header Files\\gui\\windows" FILES ${pebear_windows_hdrs} )
|
||||
SOURCE_GROUP("Header Files\\gui_base" FILES ${pebear_gui_base_hdrs} )
|
||||
|
||||
# multi-processor compilation
|
||||
if(MSVC)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
|
||||
endif()
|
||||
|
||||
IF (WIN32)
|
||||
IF(NOT SHOW_CONSOLE)
|
||||
#console hidden
|
||||
|
||||
Reference in New Issue
Block a user