2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
set_cpp()
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
cardbitmaps.cpp
|
|
|
|
cardbutton.cpp
|
|
|
|
cardcolor.cpp
|
|
|
|
cardcount.cpp
|
|
|
|
cardlib.cpp
|
|
|
|
cardregion.cpp
|
|
|
|
cardrgndraw.cpp
|
|
|
|
cardrgnmouse.cpp
|
|
|
|
cardstack.cpp
|
|
|
|
cardwindow.cpp
|
2014-02-09 21:43:42 +00:00
|
|
|
dropzone.cpp
|
|
|
|
cardlib.h)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_library(cardlib ${SOURCE})
|
|
|
|
add_dependencies(cardlib psdk)
|
2014-02-09 21:43:42 +00:00
|
|
|
add_pch(cardlib cardlib.h SOURCE)
|
2013-07-19 23:22:19 +00:00
|
|
|
|
2014-09-11 10:43:57 +00:00
|
|
|
if((NOT MSVC) AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang"))
|
2013-07-19 23:22:19 +00:00
|
|
|
add_target_compile_flags(cardlib "-Wno-unused-but-set-variable")
|
|
|
|
endif()
|