Dawn/client/glfwclient/CMakeLists.txt
2021-12-07 20:33:40 -08:00

29 lines
486 B
CMake

# Copyright (c) 2021 Dominic Msters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
# Definitions
add_compile_definitions(
SETTING_PLATFORM_GLFW=1
SETTING_PLATFORM=1
SETTING_PLATFORM_USE_GLAD=1
)
# Libraries
target_link_libraries(${PROJECT_NAME}
PUBLIC
glfw
glad
)
target_sources(${PROJECT_NAME}
PRIVATE
glfwclient.cpp
)
# Includes
target_include_directories(${PROJECT_NAME}
PUBLIC
${CMAKE_CURRENT_LIST_DIR}
)