mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 18:24:02 +00:00

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
334 B
CMake
16 lines
334 B
CMake
|
|
|
|
|
|
add_library(pcmcia SHARED
|
|
fdo.c
|
|
pcmcia.c
|
|
pdo.c
|
|
pcmcia.rc)
|
|
|
|
set_target_properties(pcmcia PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native" SUFFIX ".sys")
|
|
|
|
target_link_libraries(pcmcia
|
|
-lntoskrnl
|
|
-lhal)
|
|
|
|
add_dependencies(pcmcia psdk bugcodes buildno_header)
|