mirror of
				https://github.com/kphanipavan/modal_progress_hud_nsn.git
				synced 2025-10-29 23:02:50 -07:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			878 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			878 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| cmake_minimum_required(VERSION 3.10)
 | |
| set(PROJECT_NAME "modal_progress_hud_nsn")
 | |
| project(${PROJECT_NAME} LANGUAGES CXX)
 | |
| 
 | |
| # This value is used when generating builds using this plugin, so it must
 | |
| # not be changed
 | |
| set(PLUGIN_NAME "modal_progress_hud_nsn_plugin")
 | |
| 
 | |
| add_library(${PLUGIN_NAME} SHARED
 | |
|   "modal_progress_hud_nsn_plugin.cc"
 | |
| )
 | |
| apply_standard_settings(${PLUGIN_NAME})
 | |
| set_target_properties(${PLUGIN_NAME} PROPERTIES
 | |
|   CXX_VISIBILITY_PRESET hidden)
 | |
| target_compile_definitions(${PLUGIN_NAME} PRIVATE FLUTTER_PLUGIN_IMPL)
 | |
| target_include_directories(${PLUGIN_NAME} INTERFACE
 | |
|   "${CMAKE_CURRENT_SOURCE_DIR}/include")
 | |
| target_link_libraries(${PLUGIN_NAME} PRIVATE flutter)
 | |
| target_link_libraries(${PLUGIN_NAME} PRIVATE PkgConfig::GTK)
 | |
| 
 | |
| # List of absolute paths to libraries that should be bundled with the plugin
 | |
| set(modal_progress_hud_nsn_bundled_libraries
 | |
|   ""
 | |
|   PARENT_SCOPE
 | |
| )
 |