mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 14:18:41 +00:00
28 lines
655 B
CMake
28 lines
655 B
CMake
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(
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/atl
|
|
includes)
|
|
|
|
list(APPEND SOURCE
|
|
precomp.h
|
|
MainWindow.cpp
|
|
)
|
|
|
|
add_library(charmap MODULE
|
|
${SOURCE}
|
|
charmap.rc)
|
|
|
|
set_module_type(charmap win32gui UNICODE)
|
|
target_link_libraries(charmap uuid wine)
|
|
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)
|