Advertisement
LxrdKxnny

CMakeLists.txt

May 13th, 2023
703
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 0.45 KB | None | 0 0
  1. cmake_minimum_required(VERSION 3.25)
  2.  
  3. project(FrostEngine)
  4.  
  5. # C++ standard
  6. set(CMAKE_CXX_STANDARD 17)
  7. set(CMAKE_CXX_STANDARD_REQUIRED ON)
  8.  
  9. # Output directories
  10. set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Bin)
  11. set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Lib)
  12. set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Lib)
  13.  
  14. # Engine subdirectory
  15. add_subdirectory(Engine)
  16.  
  17. # Game subdirectory
  18. add_subdirectory(Games/Sandbox)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement