Added PS Vita support
This commit is contained in:
@ -6,18 +6,20 @@
|
||||
# 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-pokergame-win32-glfw")
|
||||
set(DAWN_BUILD_TARGET "target-helloworld-win32-glfw")
|
||||
elseif(UNIX AND NOT APPLE)
|
||||
set(DAWN_BUILD_TARGET "target-tictactoe-linux64-glfw")
|
||||
set(DAWN_BUILD_TARGET "target-helloworld-linux64-glfw")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(DAWN_BUILD_TARGET "target-helloworld-vita")
|
||||
# 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")
|
||||
endif()
|
||||
|
||||
message("Building target ${DAWN_BUILD_TARGET}")
|
||||
|
||||
# Include the build target
|
||||
add_subdirectory(${DAWN_BUILD_TARGET})
|
Reference in New Issue
Block a user