2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(version.dll version.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2013-12-02 22:45:16 +00:00
|
|
|
version.c
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/version.def)
|
|
|
|
|
2013-12-02 22:45:16 +00:00
|
|
|
add_library(version SHARED ${SOURCE} version.rc)
|
2013-02-23 16:45:48 +00:00
|
|
|
set_module_type(version win32dll)
|
2011-05-16 13:12:07 +00:00
|
|
|
target_link_libraries(version wine)
|
2013-02-23 18:07:51 +00:00
|
|
|
add_importlibs(version msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET version DESTINATION reactos/system32 FOR all)
|