15 lines
397 B
CMake
15 lines
397 B
CMake
# CMakeList.txt ; CMake project for box
|
|
|
|
cmake_minimum_required(VERSION 3.13)
|
|
|
|
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=undefined -fsanitize=address")
|
|
|
|
add_executable(box "box.cpp" "stb_image.h")
|
|
add_shader(box "shader/box.slang")
|
|
add_resource_dir(box "shader/")
|
|
|
|
target_link_libraries(box PRIVATE aster_core)
|
|
target_link_libraries(box PRIVATE util_helper)
|
|
|
|
add_resource_dir(box image)
|