mirror of
https://github.com/reactos/reactos.git
synced 2024-10-22 05:46:19 +00:00
[CMAKE]
- add set_unicode macro to msvc toolchain - fix win32cui module type for msvc svn path=/branches/cmake-bringup/; revision=48897
This commit is contained in:
parent
9ea8827010
commit
796d321ba6
|
@ -47,11 +47,16 @@ macro(set_module_type MODULE TYPE)
|
||||||
set_subsystem(${MODULE} windows)
|
set_subsystem(${MODULE} windows)
|
||||||
endif ()
|
endif ()
|
||||||
if (${TYPE} MATCHES win32cui)
|
if (${TYPE} MATCHES win32cui)
|
||||||
set_subsystem(${MODULE} windows)
|
set_subsystem(${MODULE} console)
|
||||||
set_entrypoint(${MODULE} mainCRTStartup)
|
|
||||||
endif ()
|
endif ()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
|
macro(set_unicode MODULE STATE)
|
||||||
|
if(${STATE} MATCHES yes)
|
||||||
|
add_definitions(-DUNICODE -D_UNICODE)
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(CMAKE_C_FLAGS_DEBUG_INIT "/D_DEBUG /MDd /Zi /Ob0 /Od")
|
set(CMAKE_C_FLAGS_DEBUG_INIT "/D_DEBUG /MDd /Zi /Ob0 /Od")
|
||||||
|
|
Loading…
Reference in a new issue