reactos/sdk/lib/3rdparty/cardlib/CMakeLists.txt

25 lines
488 B
CMake

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
dropzone.cpp
cardlib.h)
add_library(cardlib ${SOURCE})
add_dependencies(cardlib psdk)
add_pch(cardlib cardlib.h SOURCE)
if((NOT MSVC) AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang"))
add_target_compile_flags(cardlib "-Wno-unused-but-set-variable")
endif()