- 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
This commit is contained in:
Amine Khaldi 2010-07-27 00:49:52 +00:00
parent 5648d2bc9d
commit d667e37083

View 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})