Created
September 20, 2019 20:38
-
-
Save djpeach/bdfb753f1baf861fee1e64a8cbb473d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.7) | |
project(game LANGUAGES CXX) | |
set(CMAKE_CXX_STANDARD 14) | |
set(CMAKE_CXX_STANDARD_REQUIRED ON) | |
find_package(SFML 2.5.1 COMPONENTS system window graphics audio network REQUIRED) | |
#we add the executable of the program | |
add_executable(game | |
main.cpp | |
) | |
target_link_libraries(game sfml-system sfml-window sfml-graphics sfml-audio sfml-network ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment