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.

16 lines
433 B

  1. cmake_minimum_required(VERSION 2.6)
  2. project(just_do)
  3. # Grab the screens
  4. file(GLOB screen_sources "screens/*.c")
  5. # Executable & linking
  6. add_executable(${PROJECT_NAME} ${PROJECT_NAME}.c ${screen_sources})
  7. if (NOT TARGET raylib)
  8. find_package(raylib 2.0 REQUIRED)
  9. endif()
  10. target_link_libraries(${PROJECT_NAME} raylib)
  11. # Resources
  12. # Copy all of the resource files to the destination
  13. file(COPY "resources/" DESTINATION "resources/")