38a2ba65f5879af66efa2d378cb3fd44a2a49e9b
[reactos.git] / dll / shellext / acppage / CMakeLists.txt
1 project(appcompat)
2
3 set_cpp(WITH_RUNTIME)
4 if(NOT MSVC)
5 # HACK: this should be enabled globally!
6 add_compile_flags_language("-std=c++11" "CXX")
7 endif()
8
9 include_directories(
10 ${REACTOS_SOURCE_DIR}/sdk/lib/atl
11 ${REACTOS_SOURCE_DIR}/dll/appcompat/apphelp
12 ${REACTOS_SOURCE_DIR})
13 spec2def(acppage.dll acppage.spec ADD_IMPORTLIB)
14
15 list(APPEND SOURCE
16 ACPPage.cpp
17 CLayerUIPropPage.cpp
18 CLayerUIPropPage.hpp
19 acppage.spec
20 precomp.h
21 resource.h)
22
23 add_library(acppage SHARED
24 ${SOURCE}
25 ACPPage.rc
26 ${CMAKE_CURRENT_BINARY_DIR}/acppage.def)
27
28 set_module_type(acppage win32dll UNICODE)
29 target_link_libraries(acppage atlnew wine uuid)
30 add_delay_importlibs(acppage apphelp ole32 oleaut32 shlwapi comctl32 sfc_os)
31 add_importlibs(acppage shell32 user32 advapi32 msvcrt kernel32)
32 add_pch(acppage precomp.h SOURCE)
33 add_cd_file(TARGET acppage DESTINATION reactos/system32 FOR all)
34