Move all temporary import libs to a single directory.
[reactos.git] / drivers / storage / ide / uniata / CMakeLists.txt
1
2 set(CMAKE_CXX_CREATE_SHARED_LIBRARY "<CMAKE_CXX_COMPILER> <CMAKE_SHARED_LIBRARY_CXX_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
3
4 include_directories(inc)
5
6 add_library(uniata SHARED
7 id_ata.cpp
8 id_badblock.cpp
9 id_dma.cpp
10 id_init.cpp
11 id_probe.cpp
12 id_queue.cpp
13 id_sata.cpp
14 idedma.rc
15 ros_glue/ros_glue.cpp)
16
17 set_target_properties(uniata PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
18
19 target_link_libraries(uniata
20 -lscsiport
21 -lntoskrnl
22 -lhal
23 -lgcc)
24
25 add_dependencies(uniata psdk bugcodes buildno_header)