[CLASS2]
[reactos.git] / base / applications / charmap_new / CMakeLists.txt
1 PROJECT(CHARMAP)
2
3 set_cpp(WITH_RTTI WITH_RUNTIME WITH_EXCEPTIONS)
4
5 if(NOT MSVC)
6 # HACK: this should be enabled globally!
7 add_compile_flags_language("-std=c++11" "CXX")
8 endif()
9
10 include_directories(
11 ${REACTOS_SOURCE_DIR}/sdk/lib/atl
12 includes)
13
14 list(APPEND SOURCE
15 precomp.h
16 MainWindow.cpp
17 )
18
19 add_library(charmap SHARED
20 ${SOURCE}
21 charmap.rc)
22
23 set_module_type(charmap win32gui UNICODE)
24 target_link_libraries(charmap uuid atlnew wine)
25 add_importlibs(charmap advapi32 user32 gdi32 comctl32 version msvcrt kernel32 ole32 uxtheme ntdll)
26 add_pch(charmap precomp.h SOURCE)
27 add_cd_file(TARGET charmap DESTINATION reactos/system32 FOR all)