mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
![Timo Kreuzer](/assets/img/avatar_default.png)
Don't automatically add stub files to the sources, instead add them manually where neccessary. also fix a number of spec files to resemble actual state of implementation. svn path=/branches/cmake-bringup/; revision=50574
25 lines
512 B
CMake
25 lines
512 B
CMake
|
|
include_directories(
|
|
include
|
|
${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
set_rc_compiler()
|
|
|
|
spec2def(msgina.dll msgina.spec)
|
|
|
|
list(APPEND SOURCE
|
|
gui.c
|
|
msgina.c
|
|
stubs.c
|
|
tui.c
|
|
msgina.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/msgina_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/msgina.def)
|
|
|
|
add_library(msgina SHARED ${SOURCE})
|
|
|
|
set_module_type(msgina win32dll)
|
|
target_link_libraries(msgina wine)
|
|
add_importlibs(msgina advapi32 user32 gdi32 userenv msvcrt kernel32 ntdll)
|
|
add_cab_target(msgina 1)
|