mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	Removes the need to store to separate SRC and HEADER variables, and then construct the target in most cases.
		
			
				
	
	
		
			10 lines
		
	
	
		
			217 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			217 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
add_library(getopt
 | 
						|
    getopt.c
 | 
						|
    getopt.h
 | 
						|
)
 | 
						|
 | 
						|
create_target_directory_groups(getopt)
 | 
						|
 | 
						|
target_compile_definitions(getopt PUBLIC STATIC_GETOPT)
 | 
						|
target_include_directories(getopt INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
 |