mirror of
https://github.com/reactos/reactos.git
synced 2024-11-06 14:44:19 +00:00
18a81d5d1e
* Sync up to trunk head (r64124). svn path=/branches/shell-experiments/; revision=64126
25 lines
690 B
CMake
25 lines
690 B
CMake
|
|
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)
|
|
|
|
set_module_type(winemp3.acm win32dll)
|
|
set_target_properties(winemp3.acm PROPERTIES SUFFIX "")
|
|
target_link_libraries(winemp3.acm wine libmpg123 oldnames)
|
|
|
|
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
|
target_link_libraries(winemp3.acm mingwex)
|
|
endif()
|
|
|
|
add_importlibs(winemp3.acm winmm user32 msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET winemp3.acm DESTINATION reactos/system32 FOR all)
|