reactos/dll/win32/sfc/CMakeLists.txt
Timo Kreuzer 9cc4f5ceee [CMAKE]
Don't automatically add stub files to the sources, instead add them manually where neccessary. also fix a number of spec files to resemble actual state of implementation.

svn path=/branches/cmake-bringup/; revision=50574
2011-01-31 14:20:53 +00:00

19 lines
390 B
CMake

spec2def(sfc.dll sfc.spec)
list(APPEND SOURCE
sfc.c
${CMAKE_CURRENT_BINARY_DIR}/sfc_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/sfc.def)
add_library(sfc SHARED
${CMAKE_CURRENT_BINARY_DIR}/sfc_precomp.h.gch
${SOURCE})
set_module_type(sfc win32dll)
add_importlibs(sfc msvcrt kernel32 ntdll)
add_pch(sfc ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
add_cab_target(sfc 1)