A simple C++ clone of Pong.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 273B

123456789101112
  1. cmake_minimum_required(VERSION 3.14)
  2. project(pong)
  3. set(CMAKE_CXX_STANDARD 17)
  4. set(CMAKE_CXX_STANDARD_REQUIRED ON)
  5. set(CMAKE_CXX_EXTENSIONS OFF)
  6. find_package(SDL2 REQUIRED)
  7. add_executable(pong Main.cpp)
  8. target_link_libraries(pong PRIVATE SDL2::SDL2 SDL2_ttf SDL2_mixer)