39 lines
769 B
CMake
39 lines
769 B
CMake
# Copyright (c) 2023 Dominic Msters
|
|
#
|
|
# This software is released under the MIT License.
|
|
# https://opensource.org/licenses/MIT
|
|
|
|
# VN Scene Generator Tool
|
|
project(vnscenegen VERSION 1.1)
|
|
add_executable(vnscenegen)
|
|
|
|
|
|
# Sources
|
|
target_sources(vnscenegen
|
|
PRIVATE
|
|
${DAWN_SHARED_SOURCES}
|
|
${DAWN_TOOL_SOURCES}
|
|
VnSceneGen.cpp
|
|
)
|
|
|
|
# Includes
|
|
target_include_directories(vnscenegen
|
|
PUBLIC
|
|
${DAWN_SHARED_INCLUDES}
|
|
${DAWN_TOOL_INCLUDES}
|
|
${CMAKE_CURRENT_LIST_DIR}
|
|
)
|
|
|
|
# Definitions
|
|
target_compile_definitions(vnscenegen
|
|
PUBLIC
|
|
${DAWN_SHARED_DEFINITIONS}
|
|
DAWN_TOOL_INSTANCE=VnSceneGen
|
|
DAWN_TOOL_HEADER="VnSceneGen.hpp"
|
|
)
|
|
|
|
# Libraries
|
|
target_link_libraries(vnscenegen
|
|
PUBLIC
|
|
${DAWN_BUILD_HOST_LIBS}
|
|
) |