mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 11:33:43 +00:00
[CMAKE]
- Improve handling buildno.h svn path=/branches/cmake-bringup/; revision=48663
This commit is contained in:
parent
c961b36495
commit
b28db78efe
2 changed files with 9 additions and 2 deletions
|
@ -21,11 +21,12 @@ include_directories(${REACTOS_SOURCE_DIR}/tools/unicode)
|
|||
include_directories(include)
|
||||
include_directories(include/reactos)
|
||||
include_directories(include/reactos/wine)
|
||||
include_directories(${REACTOS_BINARY_DIR}/include)
|
||||
|
||||
add_subdirectory(tools)
|
||||
add_subdirectory(lib)
|
||||
|
||||
export(TARGETS widl winebuild nci FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
|
||||
export(TARGETS widl winebuild nci buildno FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake NAMESPACE native- )
|
||||
|
||||
else()
|
||||
|
||||
|
@ -143,5 +144,11 @@ ADD_CUSTOM_TARGET(kernel_napi ALL DEPENDS ${REACTOS_BINARY_DIR}/ntoskrnl/include
|
|||
ADD_CUSTOM_TARGET(subsystem_napi ALL DEPENDS ${REACTOS_BINARY_DIR}/subsystems/win32/win32k/include/napi.h)
|
||||
ADD_CUSTOM_TARGET(kernel_zw ALL DEPENDS ${REACTOS_BINARY_DIR}/ntoskrnl/ex/zw.S)
|
||||
|
||||
file(MAKE_DIRECTORY ${REACTOS_BINARY_DIR}/include/reactos)
|
||||
ADD_CUSTOM_COMMAND(OUTPUT ${REACTOS_BINARY_DIR}/include/reactos/buildno.h
|
||||
COMMAND native-buildno ${REACTOS_BINARY_DIR}/include/reactos/buildno.h
|
||||
DEPENDS ${REACTOS_SOURCE_DIR}/include/reactos/version.h)
|
||||
ADD_CUSTOM_TARGET(buildno_header ALL DEPENDS ${REACTOS_BINARY_DIR}/include/reactos/buildno.h)
|
||||
|
||||
endif()
|
||||
|
||||
|
|
|
@ -17,4 +17,4 @@ target_link_libraries(acledit
|
|||
${CMAKE_CURRENT_BINARY_DIR}/acledit.def
|
||||
${REACTOS_SOURCE_DIR}/dll/ntdll/libntdll.a)
|
||||
|
||||
add_dependencies(acledit acledit_def psdk)
|
||||
add_dependencies(acledit acledit_def psdk buildno_header)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue