mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 02:37:06 +00:00
![Victor Perevertkin](/assets/img/avatar_default.png)
add_target_compile_definitions -> target_compile_definitions add_target_compile_flags -> target_compile_options add_target_include_directories -> target_include_directories
26 lines
446 B
CMake
26 lines
446 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})
|
|
|
|
if(NOT MSVC)
|
|
target_compile_options(cardlib PRIVATE "-Wno-unused-but-set-variable")
|
|
endif()
|
|
|
|
add_dependencies(cardlib psdk)
|
|
add_pch(cardlib cardlib.h SOURCE)
|