2010-10-06 18:57:42 +00:00
|
|
|
|
2010-10-30 16:08:19 +00:00
|
|
|
spec2def(sfc_os.dll sfc_os.spec)
|
2010-10-06 18:57:42 +00:00
|
|
|
|
2010-10-30 16:08:19 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
sfc_os.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/sfc_os.def)
|
2010-10-06 18:57:42 +00:00
|
|
|
|
|
|
|
add_library(sfc_os SHARED
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/sfc_os_precomp.h.gch
|
|
|
|
${SOURCE})
|
|
|
|
|
|
|
|
set_module_type(sfc_os win32dll)
|
|
|
|
|
2010-11-27 09:00:22 +00:00
|
|
|
add_importlibs(sfc_os msvcrt kernel32 ntdll)
|
2010-10-06 18:57:42 +00:00
|
|
|
add_pch(sfc_os ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
2010-10-30 16:08:19 +00:00
|
|
|
|
2010-10-30 09:53:53 +00:00
|
|
|
add_cab_target(sfc_os 1)
|