Created
July 13, 2018 15:52
-
-
Save unalkalkan/70baf2f5075c0e9eea7df41bbe68b2eb to your computer and use it in GitHub Desktop.
A simple CMakeLists file for SDL2 development
This file contains hidden or 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(SDL2Boilerplate) | |
find_package(SDL2 REQUIRED) | |
include_directories(${SDL2_INCLUDE_DIRS}) | |
add_executable(SDL2Boilerplate main.cpp) | |
target_link_libraries(SDL2Boilerplate ${SDL2_LIBRARIES}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment