2015-11-18 19:24:08 +00:00
|
|
|
PROJECT(CHARMAP)
|
|
|
|
|
|
|
|
set_cpp(WITH_RTTI WITH_RUNTIME WITH_EXCEPTIONS)
|
|
|
|
|
|
|
|
if(NOT MSVC)
|
|
|
|
# HACK: this should be enabled globally!
|
|
|
|
add_compile_flags_language("-std=c++11" "CXX")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
include_directories(
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/atl
|
2015-11-18 19:24:08 +00:00
|
|
|
includes)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
precomp.h
|
|
|
|
MainWindow.cpp
|
|
|
|
)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(charmap MODULE
|
2015-11-18 19:24:08 +00:00
|
|
|
${SOURCE}
|
|
|
|
charmap.rc)
|
|
|
|
|
|
|
|
set_module_type(charmap win32gui UNICODE)
|
2019-04-06 20:37:13 +00:00
|
|
|
target_link_libraries(charmap uuid wine)
|
2015-11-18 19:24:08 +00:00
|
|
|
add_importlibs(charmap advapi32 user32 gdi32 comctl32 version msvcrt kernel32 ole32 uxtheme ntdll)
|
|
|
|
add_pch(charmap precomp.h SOURCE)
|
|
|
|
add_cd_file(TARGET charmap DESTINATION reactos/system32 FOR all)
|