mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 18:24:02 +00:00

- add macros add_cab and add_cab_target to add files to reactos.dff - add bootcd target - make use of these macros to create bootcd and livecd Bootcd works and install things, but 2nd stage fails booting. We need debug symbols!!! svn path=/branches/cmake-bringup/; revision=49347
45 lines
1.1 KiB
CMake
45 lines
1.1 KiB
CMake
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/include/reactos/wine
|
|
${REACTOS_SOURCE_DIR}/include/reactos/libs/libjpeg
|
|
${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib
|
|
${REACTOS_SOURCE_DIR}/include/reactos/libs/libpng
|
|
${REACTOS_SOURCE_DIR}/include/reactos/libs/libtiff)
|
|
|
|
spec2def(windowscodecs ${CMAKE_CURRENT_SOURCE_DIR}/windowscodecs.spec ${CMAKE_CURRENT_BINARY_DIR}/windowscodecs.def)
|
|
|
|
add_library(windowscodecs SHARED
|
|
bmpdecode.c
|
|
bmpencode.c
|
|
clsfactory.c
|
|
converter.c
|
|
fliprotate.c
|
|
gifformat.c
|
|
icoformat.c
|
|
imgfactory.c
|
|
info.c
|
|
jpegformat.c
|
|
main.c
|
|
palette.c
|
|
pngformat.c
|
|
propertybag.c
|
|
regsvr.c
|
|
stream.c
|
|
tiffformat.c
|
|
ungif.c
|
|
version.rc)
|
|
|
|
set_module_type(windowscodecs win32dll)
|
|
|
|
target_link_libraries(windowscodecs
|
|
${CMAKE_CURRENT_BINARY_DIR}/windowscodecs.def
|
|
wine)
|
|
|
|
add_importlibs(windowscodecs uuid ole32 shlwapi advapi32 msvcrt kernel32 ntdll)
|
|
add_dependencies(windowscodecs windowscodecs_def)
|
|
add_cab_target(windowscodecs 1)
|