# Copyright (c) 2024 Dominic Masters # # This software is released under the MIT License. # https://opensource.org/licenses/MIT # Build Project add_executable(${DAWN_TARGET_NAME}) # Add base add_subdirectory(dawn) # Compile entries if(DAWN_TARGET STREQUAL "linux-x64-terminal") add_subdirectory(dawnlinux) add_subdirectory(dawnterm) add_subdirectory(dawntermlinux) elseif(DAWN_TARGET STREQUAL "linux-x64-glfw") add_subdirectory(dawnlinux) add_subdirectory(dawnglfw) add_subdirectory(dawnopengl) else() message(FATAL_ERROR "Unknown target: ${DAWN_TARGET}") endif()