Make libraries build as shared libraries on non-Apple/MS systems

This commit is contained in:
2023-07-01 16:04:24 -05:00
parent da27447a4a
commit e89751dd72
7 changed files with 26 additions and 11 deletions

View File

@@ -19,3 +19,11 @@ add_subdirectory(keel)
if(NOSTALGIA_BUILD_STUDIO)
add_subdirectory(studio)
endif()
install(
TARGETS
NostalgiaScene
DESTINATION
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)

View File

@@ -1,5 +1,5 @@
add_library(
NostalgiaScene-Studio OBJECT
NostalgiaScene-Studio
studiomodule.cpp
sceneeditor-imgui.cpp
sceneeditor.cpp