2011-05-16 13:12:07 +00:00
|
|
|
|
2015-12-02 21:04:16 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-06-26 21:29:55 +00:00
|
|
|
spec2def(t2embed.dll t2embed.spec)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2015-12-02 21:04:16 +00:00
|
|
|
main.c
|
|
|
|
stubs.c
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/t2embed_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/t2embed.def)
|
|
|
|
|
2015-12-02 21:04:16 +00:00
|
|
|
add_library(t2embed SHARED ${SOURCE} t2embed.rc)
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(t2embed win32dll UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
target_link_libraries(t2embed wine)
|
|
|
|
add_importlibs(t2embed gdi32 user32 advapi32 version msvcrt kernel32 ntdll)
|
|
|
|
add_cd_file(TARGET t2embed DESTINATION reactos/system32 FOR all)
|