mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00

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
18 lines
423 B
CMake
18 lines
423 B
CMake
|
|
spec2def(sfc_os.dll sfc_os.spec)
|
|
|
|
list(APPEND SOURCE
|
|
sfc_os.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/sfc_os_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/sfc_os.def)
|
|
|
|
add_library(sfc_os SHARED
|
|
${CMAKE_CURRENT_BINARY_DIR}/sfc_os_precomp.h.gch
|
|
${SOURCE})
|
|
|
|
set_module_type(sfc_os win32dll)
|
|
|
|
add_importlibs(sfc_os msvcrt kernel32 ntdll)
|
|
add_pch(sfc_os ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
|
|
|
add_cab_target(sfc_os 1)
|