- "cmake gracefully handles def files as source files" You mean it gracefully ignores them, right ?
- Fix the kernel and class2 exports. More to come.
- Fix imaadp32.acm

svn path=/branches/cmake-bringup/; revision=49367
This commit is contained in:
Amine Khaldi 2010-10-30 22:03:40 +00:00
parent 5afba1c7f7
commit a2e649110b
3 changed files with 11 additions and 11 deletions

View file

@ -5,12 +5,12 @@ include_directories(..)
spec2def(class2.sys class2.spec)
add_library(class2 SHARED class2.c class2.rc
${CMAKE_CURRENT_BINARY_DIR}/class2.def)
add_library(class2 SHARED class2.c class2.rc)
set_target_properties(class2 PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
target_link_libraries(class2
${CMAKE_CURRENT_BINARY_DIR}/class2.def
-lscsiport
-lntoskrnl
-lhal)