16 lines
428 B
CMake
16 lines
428 B
CMake
# CMakeList.txt ; CMake project for Refactoring scratchwork
|
|
|
|
cmake_minimum_required(VERSION 3.13)
|
|
|
|
set(SOURCE_FILES "graphics.cpp")
|
|
set(HEADER_FILES "graphics.h")
|
|
|
|
add_library(scratch STATIC ${SOURCE_FILES} ${HEADER_FILES})
|
|
|
|
add_executable(scratch_exe "scratch_run.cpp")
|
|
|
|
target_link_libraries(scratch_exe PRIVATE scratch)
|
|
|
|
target_link_libraries(scratch PRIVATE aster_core)
|
|
target_link_libraries(scratch_exe PRIVATE aster_core)
|