mirror of
https://github.com/reactos/reactos.git
synced 2024-08-26 13:18:51 +00:00
18 lines
515 B
CMake
18 lines
515 B
CMake
|
|
set_cpp(WITH_RUNTIME)
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/3rdparty/cardlib)
|
|
|
|
list(APPEND SOURCE
|
|
solcreate.cpp
|
|
solgame.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 user32 gdi32 msvcrt kernel32)
|
|
add_pch(sol solitaire.h SOURCE)
|
|
add_cd_file(TARGET sol DESTINATION reactos/system32 FOR all)
|