[studio] Make all libraries and includes install correctly
This commit is contained in:
		@@ -22,6 +22,13 @@ target_include_directories(
 | 
				
			|||||||
		../include
 | 
							../include
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					install(
 | 
				
			||||||
 | 
						DIRECTORY
 | 
				
			||||||
 | 
							../include/studioapp
 | 
				
			||||||
 | 
						DESTINATION
 | 
				
			||||||
 | 
							include
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
install(
 | 
					install(
 | 
				
			||||||
	TARGETS
 | 
						TARGETS
 | 
				
			||||||
		StudioAppLib
 | 
							StudioAppLib
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -12,18 +12,6 @@ add_library(
 | 
				
			|||||||
		filedialog_nfd.cpp
 | 
							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(
 | 
					target_include_directories(
 | 
				
			||||||
	Studio PUBLIC
 | 
						Studio PUBLIC
 | 
				
			||||||
		../include
 | 
							../include
 | 
				
			||||||
@@ -42,19 +30,16 @@ target_link_libraries(
 | 
				
			|||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
install(
 | 
					install(
 | 
				
			||||||
	FILES
 | 
						TARGETS
 | 
				
			||||||
		../include/studio/configio.hpp
 | 
							Studio
 | 
				
			||||||
		../include/studio/context.hpp
 | 
						DESTINATION
 | 
				
			||||||
		../include/studio/editor.hpp
 | 
							LIBRARY DESTINATION lib
 | 
				
			||||||
		../include/studio/filedialog.hpp
 | 
							ARCHIVE DESTINATION lib
 | 
				
			||||||
		../include/studio/itemmaker.hpp
 | 
					)
 | 
				
			||||||
		../include/studio/module.hpp
 | 
					
 | 
				
			||||||
		../include/studio/popup.hpp
 | 
					install(
 | 
				
			||||||
		../include/studio/project.hpp
 | 
						DIRECTORY
 | 
				
			||||||
		../include/studio/studio.hpp
 | 
							../include/studio
 | 
				
			||||||
		../include/studio/task.hpp
 | 
					 | 
				
			||||||
		../include/studio/undostack.hpp
 | 
					 | 
				
			||||||
		../include/studio/widget.hpp
 | 
					 | 
				
			||||||
	DESTINATION
 | 
						DESTINATION
 | 
				
			||||||
		include/studio/
 | 
							include/studio/
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user