PrimeWorldEditor/CMakeLists.txt

20 lines
565 B
CMake
Raw Normal View History

2019-05-23 16:04:29 -07:00
cmake_minimum_required(VERSION 3.12)
project(PrimeWorldEditor CXX)
include(./dew.cmake)
integrate_dew()
# Set where the binary files will be built. The program will not execute from
# here. You must run "make install" to install these to the proper location
# as defined above.
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Binaries)
if (WIN32)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
2019-05-23 18:02:08 -07:00
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_SOURCE_DIR}/bin-debug)
2019-05-23 16:04:29 -07:00
endif()
add_subdirectory(src/Core)
add_subdirectory(src/Editor)