Simplified DawnGAme a lot
This commit is contained in:
@ -6,14 +6,12 @@
|
||||
# Check for build target, or default. This is pretty much not guaranteed.
|
||||
if(NOT DEFINED DAWN_BUILD_TARGET)
|
||||
if(WIN32)
|
||||
set(DAWN_BUILD_TARGET "target-helloworld-win32-glfw")
|
||||
set(DAWN_BUILD_TARGET "target-rose-win32-glfw")
|
||||
elseif(UNIX AND NOT APPLE)
|
||||
set(DAWN_BUILD_TARGET "target-helloworld-linux64-glfw")
|
||||
set(DAWN_BUILD_TARGET "target-rose-linux64-glfw")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# set(DAWN_BUILD_TARGET "target-helloworld-vita")
|
||||
|
||||
# Now validate we have a build target for real
|
||||
if(NOT DEFINED DAWN_BUILD_TARGET)
|
||||
message(FATAL_ERROR "You need to define a DAWN_BUILD_TARGET")
|
||||
|
9
cmake/targets/target-rose-linux64-glfw/CMakeLists.txt
Normal file
9
cmake/targets/target-rose-linux64-glfw/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2023 Dominic Masters
|
||||
#
|
||||
# This software is released under the MIT License.
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
set(DAWN_BUILDING dawnrose CACHE INTERNAL ${DAWN_CACHE_TARGET})
|
||||
set(DAWN_TARGET_LINUX64 true CACHE INTERNAL ${DAWN_CACHE_TARGET})
|
||||
set(DAWN_TARGET_GLFW true CACHE INTERNAL ${DAWN_CACHE_TARGET})
|
||||
set(DAWN_TARGET_NAME "Rose" CACHE INTERNAL ${DAWN_CACHE_TARGET})
|
Reference in New Issue
Block a user