xref: /reactos/dll/win32/version/CMakeLists.txt (revision 1de09c47)
1c2c66affSColin Finck
2c2c66affSColin Finckadd_definitions(-D__WINESRC__)
3c2c66affSColin Finckinclude_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4c2c66affSColin Finckspec2def(version.dll version.spec ADD_IMPORTLIB)
5c2c66affSColin Finck
6c2c66affSColin Fincklist(APPEND SOURCE
7c2c66affSColin Finck    version.c
8c2c66affSColin Finck    ${CMAKE_CURRENT_BINARY_DIR}/version.def)
9c2c66affSColin Finck
1023373acbSJérôme Gardouadd_library(version MODULE ${SOURCE} version.rc)
11c2c66affSColin Finckset_module_type(version win32dll)
12*1de09c47STimo Kreuzertarget_link_libraries(version wine oldnames)
13c2c66affSColin Finckadd_importlibs(version msvcrt kernel32 ntdll)
14c2c66affSColin Finckadd_cd_file(TARGET version DESTINATION reactos/system32 FOR all)
15