13 lines
359 B
CMake
13 lines
359 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)
|
|
add_shader(box shader/box.vert.glsl)
|
|
add_shader(box shader/box.frag.glsl)
|
|
|
|
target_link_libraries(box PRIVATE aster_core)
|
|
target_link_libraries(box PRIVATE util_helper)
|