[CMAKE]
[reactos.git] / dll / win32 / atl / CMakeLists.txt
index f6376ab..6976438 100644 (file)
@@ -7,6 +7,7 @@ add_definitions(-D_WIN32_WINNT=0x600)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_idl_headers(atl_atliface_header atliface.idl)
+generate_idl_iids(atliface.idl)
 
 set_rc_compiler()
 spec2def(atl.dll atl.spec)
@@ -17,6 +18,7 @@ list(APPEND SOURCE
     registrar.c
     stubs.c
     rsrc.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/atliface_i.c
     ${CMAKE_CURRENT_BINARY_DIR}/atl.def)
 
 add_library(atl SHARED ${SOURCE})
@@ -38,4 +40,4 @@ add_importlibs(atl
 add_importlib_target(atl.spec)
 
 add_dependencies(atl atl_atliface_header)
-add_cab_target(atl 1)
+add_cd_file(TARGET atl DESTINATION reactos/system32)