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