mirror of
https://github.com/reactos/reactos.git
synced 2025-01-11 16:51:06 +00:00
c702cc0d5a
Generalize CMAKE_C_CREATE_SHARED_LIBRARY and remove per project instances. Thanks to Amine for regexxer tool discovery ;) svn path=/branches/cmake-bringup/; revision=48804
19 lines
405 B
CMake
19 lines
405 B
CMake
|
|
|
|
|
|
add_library(floppy SHARED
|
|
csqrtns.c
|
|
floppy.c
|
|
hardware.c
|
|
ioctl.c
|
|
readwrite.c
|
|
floppy.rc)
|
|
|
|
set_target_properties(floppy PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
|
|
|
|
target_link_libraries(floppy
|
|
csq
|
|
-lntoskrnl
|
|
-lhal)
|
|
|
|
add_dependencies(floppy psdk bugcodes buildno_header)
|