mirror of
https://github.com/reactos/reactos.git
synced 2024-09-21 02:01:15 +00:00
fd5ef6b1c1
- add macros add_cab and add_cab_target to add files to reactos.dff - add bootcd target - make use of these macros to create bootcd and livecd Bootcd works and install things, but 2nd stage fails booting. We need debug symbols!!! svn path=/branches/cmake-bringup/; revision=49347
28 lines
593 B
CMake
28 lines
593 B
CMake
|
|
spec2def(winsta ${CMAKE_CURRENT_SOURCE_DIR}/winsta.spec ${CMAKE_CURRENT_BINARY_DIR}/winsta.def)
|
|
|
|
list(APPEND SOURCE
|
|
logon.c
|
|
main.c
|
|
misc.c
|
|
query.c
|
|
security.c
|
|
server.c
|
|
ws.c
|
|
winsta.rc)
|
|
|
|
add_library(winsta SHARED
|
|
${CMAKE_CURRENT_BINARY_DIR}/winsta_winsta.h.gch
|
|
${SOURCE})
|
|
|
|
set_module_type(winsta win32dll)
|
|
|
|
target_link_libraries(winsta
|
|
${CMAKE_CURRENT_BINARY_DIR}/winsta.def
|
|
wine)
|
|
|
|
add_importlibs(winsta kernel32 ntdll)
|
|
add_pch(winsta ${CMAKE_CURRENT_SOURCE_DIR}/winsta.h ${SOURCE})
|
|
add_dependencies(winsta winsta_def)
|
|
add_cab_target(winsta 1)
|