2
0

CMakeLists.txt 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. set(SAMPLE_NAME "invaders")
  2. set(TARGET_NAME "${RMLUI_SAMPLE_PREFIX}${SAMPLE_NAME}")
  3. add_executable(${TARGET_NAME} WIN32
  4. src/DecoratorDefender.cpp
  5. src/DecoratorDefender.h
  6. src/DecoratorStarfield.cpp
  7. src/DecoratorStarfield.h
  8. src/Defender.cpp
  9. src/Defender.h
  10. src/ElementGame.cpp
  11. src/ElementGame.h
  12. src/EventHandler.cpp
  13. src/EventHandler.h
  14. src/EventHandlerHighScore.cpp
  15. src/EventHandlerHighScore.h
  16. src/EventHandlerOptions.cpp
  17. src/EventHandlerOptions.h
  18. src/EventHandlerStartGame.cpp
  19. src/EventHandlerStartGame.h
  20. src/EventListener.cpp
  21. src/EventListener.h
  22. src/EventListenerInstancer.cpp
  23. src/EventListenerInstancer.h
  24. src/EventManager.cpp
  25. src/EventManager.h
  26. src/Game.cpp
  27. src/Game.h
  28. src/GameDetails.cpp
  29. src/GameDetails.h
  30. src/HighScores.cpp
  31. src/HighScores.h
  32. src/Invader.cpp
  33. src/Invader.h
  34. src/main.cpp
  35. src/Mothership.cpp
  36. src/Mothership.h
  37. src/Shield.cpp
  38. src/Shield.h
  39. src/Sprite.cpp
  40. src/Sprite.h
  41. )
  42. set_common_target_options(${TARGET_NAME})
  43. target_link_libraries(${TARGET_NAME} PRIVATE rmlui_shell)
  44. install_sample_target(${TARGET_NAME})