Skip to content

Commit

Permalink
cmake support.
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoine committed Dec 8, 2021
1 parent efd355c commit 3fa0eca
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
cmake_minimum_required(VERSION 3.16)

project(
"The Fil Rouge"
VERSION
1.0
LANGUAGES
CXX
)

file(GLOB_RECURSE SRC_FILES src/*.cpp)
add_executable(app ${SRC_FILES})
target_include_directories(app PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include/conductor)
find_package(SFML 2 REQUIRED network audio graphics window system)
target_include_directories(app PUBLIC ${SFML_INCLUDE_DIR})
target_link_libraries(app sfml-graphics)

0 comments on commit 3fa0eca

Please sign in to comment.