reactos/base/applications/games/solitaire/CMakeLists.txt
Carl J. Bialorucki f65c03a28c
[SOLITAIRE] Use the shell about dialog for solitaire and spider (#5493)
Use the shell about dialog for solitaire and spider solitaire.
This increases visual consistency throughout the operating system
and matches the behavior of the game from Windows XP.

- Use the shell about dialog instead of a plain MessageBox.
- Since the shell about dialog can only handle two lines of text,
  shorten the message dialog text to two lines.
2023-08-04 01:50:39 +03:00

16 lines
448 B
CMake

list(APPEND SOURCE
solcreate.cpp
solgame.cpp
solundo.cpp
solitaire.cpp
solitaire.h)
add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/solitaire.ico)
add_executable(sol ${SOURCE} rsrc.rc)
target_link_libraries(sol cardlib)
set_module_type(sol win32gui UNICODE)
add_importlibs(sol advapi32 comctl32 shell32 user32 gdi32 msvcrt kernel32)
add_pch(sol solitaire.h SOURCE)
add_cd_file(TARGET sol DESTINATION reactos/system32 FOR all)