# Copyright (c) 2022 Dominic Masters # # This software is released under the MIT License. # https://opensource.org/licenses/MIT # Change what we are building add_subdirectory(dawnpokergame) # Check the game project includes the target name if(NOT DEFINED DAWN_TARGET_NAME) message(FATAL_ERROR "You need to define a DAWN_TARGET_NAME") endif() # Add in base library add_subdirectory(dawn) # Compile entry targets if(DAWN_TARGET_WIN32) add_subdirectory(dawnwin32) else() message(FATAL_ERROR "You need to define an entry target") endif() # Compile support targets if(DAWN_TARGET_GLFW) add_subdirectory(dawnglfw) add_subdirectory(dawnopengl) endif()