mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
![Jérôme Gardou](/assets/img/avatar_default.png)
- Get rid of buildno_header target, builno.h is generated at configure time. svn path=/branches/cmake-bringup/; revision=51220
35 lines
743 B
CMake
35 lines
743 B
CMake
|
|
set_unicode()
|
|
|
|
add_definitions(-D_DLL -D__USE_CRTIMP)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
set_rc_compiler()
|
|
|
|
spec2def(msacm32.dll msacm32.spec)
|
|
|
|
list(APPEND SOURCE
|
|
driver.c
|
|
filter.c
|
|
format.c
|
|
internal.c
|
|
msacm32_main.c
|
|
pcmconverter.c
|
|
stream.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/msacm32_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/msacm32.def)
|
|
|
|
add_library(msacm32 SHARED ${SOURCE})
|
|
|
|
set_entrypoint(msacm32 DllMain@12)
|
|
set_image_base(msacm32 ${baseaddress_msacm32})
|
|
|
|
target_link_libraries(msacm32 wine)
|
|
add_importlibs(msacm32 msvcrt advapi32 user32 winmm kernel32 ntdll)
|
|
add_dependencies(msacm32 psdk)
|
|
|
|
add_cab_target(msacm32 1)
|
|
add_importlib_target(msacm32.spec)
|
|
|
|
add_subdirectory(msacm32.drv)
|