[studio] Make all libraries and includes install correctly
This commit is contained in:
parent
690935e4ec
commit
d4eaade326
@ -22,6 +22,13 @@ target_include_directories(
|
||||
../include
|
||||
)
|
||||
|
||||
install(
|
||||
DIRECTORY
|
||||
../include/studioapp
|
||||
DESTINATION
|
||||
include
|
||||
)
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
StudioAppLib
|
||||
|
@ -12,18 +12,6 @@ add_library(
|
||||
filedialog_nfd.cpp
|
||||
)
|
||||
|
||||
if(NOT MSVC)
|
||||
target_compile_options(Studio PUBLIC -Wsign-conversion)
|
||||
endif()
|
||||
|
||||
install(
|
||||
TARGETS
|
||||
Studio
|
||||
DESTINATION
|
||||
LIBRARY DESTINATION lib
|
||||
ARCHIVE DESTINATION lib
|
||||
)
|
||||
|
||||
target_include_directories(
|
||||
Studio PUBLIC
|
||||
../include
|
||||
@ -42,19 +30,16 @@ target_link_libraries(
|
||||
)
|
||||
|
||||
install(
|
||||
FILES
|
||||
../include/studio/configio.hpp
|
||||
../include/studio/context.hpp
|
||||
../include/studio/editor.hpp
|
||||
../include/studio/filedialog.hpp
|
||||
../include/studio/itemmaker.hpp
|
||||
../include/studio/module.hpp
|
||||
../include/studio/popup.hpp
|
||||
../include/studio/project.hpp
|
||||
../include/studio/studio.hpp
|
||||
../include/studio/task.hpp
|
||||
../include/studio/undostack.hpp
|
||||
../include/studio/widget.hpp
|
||||
TARGETS
|
||||
Studio
|
||||
DESTINATION
|
||||
LIBRARY DESTINATION lib
|
||||
ARCHIVE DESTINATION lib
|
||||
)
|
||||
|
||||
install(
|
||||
DIRECTORY
|
||||
../include/studio
|
||||
DESTINATION
|
||||
include/studio/
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user