[CMAKE]
[reactos.git] / dll / win32 / winemp3.acm / CMakeLists.txt
1
2 add_definitions(
3 -D_DLL -D__USE_CRTIMP
4 -D__WINESRC__
5 -DWIN32)
6
7 include_directories(
8 ${REACTOS_SOURCE_DIR}/include/reactos/wine
9 ${REACTOS_SOURCE_DIR}/include/reactos/libs/libmpg123)
10
11 spec2def(winemp3.acm winemp3.acm.spec)
12
13 add_library(winemp3.acm SHARED
14 mpegl3.c
15 ${CMAKE_CURRENT_BINARY_DIR}/winemp3.def)
16
17 set_entrypoint(winemp3.acm 0)
18 set_target_properties(winemp3.acm PROPERTIES SUFFIX "")
19
20 target_link_libraries(winemp3.acm
21 mingw_common
22 wine
23 libmpg123)
24
25 add_importlibs(winemp3.acm
26 msvcrt
27 winmm
28 user32
29 kernel32
30 ntdll)
31
32 add_dependencies(winemp3.acm psdk)
33
34 add_cd_file(TARGET winemp3.acm DESTINATION reactos/system32 FOR all)