From 9ccf3248f2d9cd2cb9bd5a4826e8d0409f98f3d1 Mon Sep 17 00:00:00 2001 From: Stephen Enders Date: Tue, 5 Jan 2021 00:30:53 -0500 Subject: Initial commit - Rendering --- CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..be11c85 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,13 @@ +cmake_minimum_required(VERSION 3.13) +project(ur-sfml) +set(CMAKE_CXX_STANDARD 20) +set(EXECUTABLE_NAME ur) + +# setup SFML +set(SFML_LIBRARIES sfml-system sfml-window sfml-graphics) +find_package(SFML 2.5 REQUIRED COMPONENTS system window graphics) + +add_executable(${EXECUTABLE_NAME} ur.cpp helper.h helper.cpp) +target_link_libraries(${EXECUTABLE_NAME} ${SFML_LIBRARIES}) + +file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/res DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) -- cgit v1.2.3-54-g00ecf