Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

33 linhas
847 B

  1. # Setup the project and settings
  2. project(games)
  3. include("../utils.cmake")
  4. # Make sure raylib has been built
  5. # TODO `build` directory should maybe be something else...
  6. # TODO place somewhere else?
  7. include_directories("../build/release")
  8. # Get the source toegher
  9. file(GLOB sources *.c)
  10. # Do each game
  11. foreach(game_source ${sources})
  12. # Create the basename for the game
  13. get_filename_component(game_name ${game_source} NAME)
  14. string(REPLACE ".c" "" game_name ${game_name})
  15. # Setup the game
  16. add_executable(${game_name} ${game_source})
  17. # Link the libraries
  18. link_libraries_to_executable(${game_name})
  19. endforeach()
  20. # Do the games with subdirectories
  21. add_subdirectory(drturtle)
  22. add_subdirectory(just_do)
  23. add_subdirectory(koala_seasons)
  24. add_subdirectory(light_my_ritual)
  25. add_subdirectory(skully_escape)
  26. add_subdirectory(wave_collector)