reactos/drivers/base/beep/CMakeLists.txt
Amine Khaldi 5712f8489b [CMAKE]
- Add beep driver to build.

svn path=/branches/cmake-bringup/; revision=48661
2010-08-31 10:34:15 +00:00

12 lines
528 B
CMake

set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
add_library(beep SHARED beep.c beep.rc)
set_target_properties(beep PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols" SUFFIX ".sys")
target_link_libraries(beep
${REACTOS_SOURCE_DIR}/ntoskrnl/libntoskrnl.a
${REACTOS_SOURCE_DIR}/hal/halx86/libhal.a)
add_dependencies(beep psdk bugcodes)