2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-DWIN32)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${REACTOS_SOURCE_DIR}/include/reactos/wine
|
|
|
|
${REACTOS_SOURCE_DIR}/include/reactos/libs/libmpg123)
|
|
|
|
|
|
|
|
spec2def(winemp3.acm winemp3.acm.spec)
|
|
|
|
|
|
|
|
add_library(winemp3.acm SHARED
|
|
|
|
mpegl3.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/winemp3.def)
|
|
|
|
|
2013-02-23 16:45:48 +00:00
|
|
|
set_module_type(winemp3.acm win32dll)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_target_properties(winemp3.acm PROPERTIES SUFFIX "")
|
2011-06-18 21:44:52 +00:00
|
|
|
target_link_libraries(winemp3.acm wine libmpg123 oldnames)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_importlibs(winemp3.acm
|
|
|
|
winmm
|
|
|
|
user32
|
2011-06-13 15:31:11 +00:00
|
|
|
msvcrt
|
2011-05-16 13:12:07 +00:00
|
|
|
kernel32
|
|
|
|
ntdll)
|
|
|
|
|
|
|
|
add_dependencies(winemp3.acm psdk)
|
2011-06-13 15:31:11 +00:00
|
|
|
add_cd_file(TARGET winemp3.acm DESTINATION reactos/system32 FOR all)
|