[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Tue, 27 Jul 2010 00:49:52 +0000 (00:49 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Tue, 27 Jul 2010 00:49:52 +0000 (00:49 +0000)
- Rename MACRO_ADD_INTERFACES to MACRO_ADD_PSDK_INTERFACES, HEADERS to PSDK_HEADERS.
- Change the psdk target name from build_headers to psdk.

svn path=/branches/cmake-bringup/; revision=48294

include/psdk/CMakeLists.txt

index fecfd4d..2816fcc 100644 (file)
@@ -1,5 +1,5 @@
 
-MACRO (MACRO_ADD_INTERFACES)
+MACRO (MACRO_ADD_PSDK_INTERFACES)
 
  FOREACH(_in_FILE ${ARGN})
 
@@ -17,11 +17,11 @@ MACRO (MACRO_ADD_INTERFACES)
      GENERATED TRUE
    )
 
-    LIST(APPEND HEADERS ${REACTOS_BINARY_DIR}/include/psdk/${FILE}.h)  
+    LIST(APPEND PSDK_HEADERS ${REACTOS_BINARY_DIR}/include/psdk/${FILE}.h)  
 
  ENDFOREACH(_in_FILE ${ARGN})
 
-ENDMACRO (MACRO_ADD_INTERFACES)
+ENDMACRO (MACRO_ADD_PSDK_INTERFACES)
 
 file(GLOB_RECURSE SOURCE "*.idl")
 LIST(REMOVE_ITEM SOURCE ${REACTOS_SOURCE_DIR}/include/psdk/access.idl)
@@ -47,6 +47,6 @@ LIST(REMOVE_ITEM SOURCE ${REACTOS_SOURCE_DIR}/include/psdk/dyngraph.idl)
 LIST(REMOVE_ITEM SOURCE ${REACTOS_SOURCE_DIR}/include/psdk/dbs.idl)
 LIST(REMOVE_ITEM SOURCE ${REACTOS_SOURCE_DIR}/include/psdk/dbprop.idl)
 
-MACRO_ADD_INTERFACES(${SOURCE})
+MACRO_ADD_PSDK_INTERFACES(${SOURCE})
 
-ADD_CUSTOM_TARGET(build_headers ALL DEPENDS ${HEADERS})
+ADD_CUSTOM_TARGET(psdk ALL DEPENDS ${PSDK_HEADERS})