mirror of
https://github.com/reactos/reactos.git
synced 2025-01-12 01:00:06 +00:00
08265cb095
Alexey Komarov: - More work on base modules. - Add some dlls to build. svn path=/branches/cmake-bringup/; revision=48996
20 lines
495 B
CMake
20 lines
495 B
CMake
|
|
add_definitions(-D__WINESRC__)
|
|
spec2def(version ${CMAKE_CURRENT_SOURCE_DIR}/version.spec ${CMAKE_CURRENT_BINARY_DIR}/version.def)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
add_library(version SHARED
|
|
info.c
|
|
install.c
|
|
resource.c
|
|
version.rc)
|
|
|
|
set_entrypoint(version 0)
|
|
|
|
target_link_libraries(version
|
|
${CMAKE_CURRENT_BINARY_DIR}/version.def
|
|
wine)
|
|
|
|
add_importlibs(version lz32 kernel32 ntdll)
|
|
add_dependencies(version version_def psdk buildno_header)
|