Skip to content

Commit

Permalink
Added alias targets to Engine and Interop
Browse files Browse the repository at this point in the history
  • Loading branch information
capnkenny committed Nov 24, 2023
1 parent 97c1823 commit d9d12d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/NovelRT.Interop/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ set(INTEROP_SOURCES
)

add_library(Interop SHARED ${INTEROP_SOURCES})
add_library(NovelRT::Interop ALIAS Interop)
add_dependencies(Interop Engine)
set_property(TARGET Interop PROPERTY VERSION ${PROJECT_VERSION})

Expand Down
1 change: 1 addition & 0 deletions src/NovelRT/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ set(CORE_SOURCES
)

add_library(Engine SHARED ${CORE_SOURCES})
add_library(NovelRT::Engine ALIAS Engine)
set_target_properties(Engine
PROPERTIES
OUTPUT_NAME "$<IF:$<CONFIG:Release>,NovelRT,NovelRT-$<CONFIG>>"
Expand Down

0 comments on commit d9d12d8

Please sign in to comment.