1
2set_cpp()
3
4list(APPEND SOURCE
5    cardbitmaps.cpp
6    cardbutton.cpp
7    cardcolor.cpp
8    cardcount.cpp
9    cardlib.cpp
10    cardregion.cpp
11    cardrgndraw.cpp
12    cardrgnmouse.cpp
13    cardstack.cpp
14    cardwindow.cpp
15    dropzone.cpp
16    cardlib.h)
17
18add_library(cardlib ${SOURCE})
19
20if(NOT MSVC)
21    add_target_compile_flags(cardlib "-Wno-unused-but-set-variable")
22endif()
23
24add_dependencies(cardlib psdk)
25add_pch(cardlib cardlib.h SOURCE)
26