mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 00:26:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			586 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			586 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
add_library(oics STATIC
 | 
						|
    ICSChannel.cpp
 | 
						|
    ICSControl.cpp
 | 
						|
    ICSInputControlSystem.cpp
 | 
						|
    ICSInputControlSystem_keyboard.cpp
 | 
						|
    ICSInputControlSystem_mouse.cpp
 | 
						|
    ICSInputControlSystem_joystick.cpp
 | 
						|
    ICSPrerequisites.h
 | 
						|
)
 | 
						|
 | 
						|
if(USE_SYSTEM_TINYXML)
 | 
						|
    target_link_libraries(oics ${TinyXML_LIBRARIES})
 | 
						|
else()
 | 
						|
    add_library(local_tinyxml STATIC
 | 
						|
        tinyxml.cpp
 | 
						|
        tinyxmlparser.cpp
 | 
						|
        tinyxmlerror.cpp
 | 
						|
        tinystr.cpp
 | 
						|
    )
 | 
						|
    target_link_libraries(oics local_tinyxml)
 | 
						|
endif()
 | 
						|
 | 
						|
if (MSVC)
 | 
						|
    target_precompile_headers(oics PUBLIC <algorithm> <string>)
 | 
						|
endif()
 |