CMakeLists.txt 344 B

12345678910111213
  1. cmake_minimum_required(VERSION 3.18)
  2. project(netscore)
  3. # add_executable(${PROJECT_NAME} main.cpp ui.c)
  4. add_executable(${PROJECT_NAME} main.cpp ui.c)
  5. # add_executable(netscore-server server.cpp)
  6. find_package(SDL2 REQUIRED)
  7. target_link_libraries(${PROJECT_NAME} PRIVATE SDL2::SDL2 SDL2_ttf SDL2_image)
  8. add_executable(client-test client.cpp)