mirror of
https://github.com/reactos/reactos.git
synced 2025-01-10 16:18:16 +00:00
[CMAKE]
- 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:
parent
5648d2bc9d
commit
d667e37083
1 changed files with 5 additions and 5 deletions
|
@ -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})
|
||||
|
|
Loading…
Reference in a new issue