Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Sandbox project
- project(Sandbox)
- # C++ standard
- set(CMAKE_CXX_STANDARD 17)
- # Output directories
- set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Bin)
- set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Lib)
- set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Lib)
- # Sandbox executable
- add_executable(
- Sandbox
- Source/Private/Sandbox.cpp
- )
- # Sandbox include directories
- target_include_directories(
- Sandbox PUBLIC
- Source/Public
- ../../Engine/Audio/Public
- ../../Engine/Core/Public
- ../../Engine/Editor/Public
- ../../Engine/Graphics/Public
- ../../Engine/Input/Public
- ../../Engine/Networking/Public
- ../../Engine/Physics/Public
- ../../Engine/Resource/Public
- ../../Engine/Scene/Public
- ../../Engine/Scripting/Public
- ../../Engine/Serialization/Public
- ../../Engine/UI/Public
- )
- # Sandbox link libraries
- target_link_libraries(
- Sandbox PRIVATE
- Engine
- )
- # Entry point for the Sandbox game
- target_sources(Sandbox PRIVATE ../../Engine/Core/Private/Engine.cpp)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement