1project(iernonce) 2 3include_directories(include) 4 5spec2def(iernonce.dll iernonce.spec) 6 7list(APPEND SOURCE 8 dialog.cpp 9 iernonce.cpp 10 registry.cpp 11 iernonce.h) 12 13add_library(iernonce MODULE 14 ${SOURCE} 15 iernonce.rc 16 ${CMAKE_CURRENT_BINARY_DIR}/iernonce.def) 17 18set_module_type(iernonce win32dll UNICODE) 19target_link_libraries(iernonce cppstl atl_classes) 20set_target_cpp_properties(iernonce WITH_EXCEPTIONS) 21add_importlibs(iernonce advapi32 msvcrt gdi32 ole32 shell32 shlwapi kernel32 user32 ntdll) 22add_pch(iernonce iernonce.h SOURCE) 23add_cd_file(TARGET iernonce DESTINATION reactos/system32 FOR all) 24