[CMAKE]: Add wmc to host tools, and export it as native-wmc.
[reactos.git] / include / psdk / CMakeLists.txt
index 3b9d85d..fecfd4d 100644 (file)
@@ -17,7 +17,7 @@ MACRO (MACRO_ADD_INTERFACES)
      GENERATED TRUE
    )
 
      GENERATED TRUE
    )
 
-    ADD_CUSTOM_TARGET(build_${FILE}_idl ALL DEPENDS ${REACTOS_BINARY_DIR}/include/psdk/${FILE}.h)
+    LIST(APPEND HEADERS ${REACTOS_BINARY_DIR}/include/psdk/${FILE}.h)  
 
  ENDFOREACH(_in_FILE ${ARGN})
 
 
  ENDFOREACH(_in_FILE ${ARGN})
 
@@ -49,3 +49,4 @@ LIST(REMOVE_ITEM SOURCE ${REACTOS_SOURCE_DIR}/include/psdk/dbprop.idl)
 
 MACRO_ADD_INTERFACES(${SOURCE})
 
 
 MACRO_ADD_INTERFACES(${SOURCE})
 
+ADD_CUSTOM_TARGET(build_headers ALL DEPENDS ${HEADERS})