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.

21 lines
551 B

  1. # Setup the project and settings
  2. project(skully_escape)
  3. include("../../utils.cmake")
  4. # Make sure raylib has been built
  5. # TODO `build` directory should maybe be something else...
  6. include_directories("../../build/release")
  7. # Grab the screens
  8. file(GLOB screen_sources "screens/*.c")
  9. # Executable & linking
  10. add_executable(skully_escape skully_escape.c player.c monster.c ${screen_sources})
  11. link_libraries_to_executable(skully_escape)
  12. # Resources
  13. # Copy all of the resource files to the destination
  14. file(COPY "resources/" DESTINATION "resources/")