Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisThrasher authored and eXpl0it3r committed May 10, 2022
1 parent b2c1b23 commit bfcf815
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
cmake_minimum_required(VERSION 3.15)

project(CMakeSFMLProject LANGUAGES CXX)

# Tell CMake to build a executable
add_executable(CMakeSFMLProject src/main.cpp)

# CMake SFML Project uses C++17 features
target_compile_features(CMakeSFMLProject PRIVATE cxx_std_17)

# Find SFML
find_package(SFML 2.5 COMPONENTS graphics REQUIRED)

# Link SFML
add_executable(CMakeSFMLProject src/main.cpp)
target_link_libraries(CMakeSFMLProject PRIVATE sfml-graphics)
target_compile_features(CMakeSFMLProject PRIVATE cxx_std_17)

# Install executable
install(TARGETS CMakeSFMLProject)

0 comments on commit bfcf815

Please sign in to comment.