mirror of
https://github.com/reactos/reactos.git
synced 2024-09-20 01:31:34 +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
15 lines
380 B
CMake
15 lines
380 B
CMake
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
|
|
|
|
add_library(blue SHARED blue.c font.c blue.rc)
|
|
|
|
set_target_properties(blue PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
|
|
|
|
target_link_libraries(blue
|
|
-lntoskrnl
|
|
-lhal)
|
|
|
|
add_dependencies(blue psdk bugcodes)
|