18 lines
258 B
CMake
18 lines
258 B
CMake
|
cmake_minimum_required(VERSION 3.2)
|
||
|
|
||
|
project(pix-draw-studio-tests)
|
||
|
find_package(Catch2 REQUIRED)
|
||
|
|
||
|
add_executable(pix-test
|
||
|
main.cpp
|
||
|
|
||
|
# keys
|
||
|
KeyMod.cpp
|
||
|
Shortcut.cpp
|
||
|
ShortcutListener.cpp
|
||
|
)
|
||
|
|
||
|
target_link_libraries(pix-test
|
||
|
$<TARGET_OBJECTS:pixlib>
|
||
|
)
|