mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +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
16 lines
316 B
CMake
16 lines
316 B
CMake
|
|
|
|
|
|
add_library(pci SHARED
|
|
fdo.c
|
|
pci.c
|
|
pdo.c
|
|
pci.rc)
|
|
|
|
set_target_properties(pci PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native" SUFFIX ".sys")
|
|
|
|
target_link_libraries(pci
|
|
-lntoskrnl
|
|
-lhal)
|
|
|
|
add_dependencies(pci psdk bugcodes buildno_header)
|