Move all temporary import libs to a single directory.
[reactos.git] / drivers / battery / battc / CMakeLists.txt
1
2 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>")
3
4 add_definitions(-D_BATTERYCLASS_)
5
6 add_library(battc SHARED battc.c battc.rc)
7
8 set_target_properties(battc PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
9
10 target_link_libraries(battc
11 -lntoskrnl
12 -lhal)
13
14 add_dependencies(battc psdk bugcodes)