mirror of
				https://github.com/jhasse/poly2tri.git
				synced 2025-11-03 21:59:32 +01:00 
			
		
		
		
	Add CMake files for the testbed
This commit is contained in:
		
							
								
								
									
										15
									
								
								testbed/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								testbed/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
# Dependencies
 | 
			
		||||
find_package(glfw3 3.3 REQUIRED)
 | 
			
		||||
find_package(OpenGL REQUIRED)
 | 
			
		||||
 | 
			
		||||
# Build testbed
 | 
			
		||||
add_executable(testbed
 | 
			
		||||
    main.cc
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
target_link_libraries(testbed
 | 
			
		||||
    PRIVATE
 | 
			
		||||
    glfw
 | 
			
		||||
    OpenGL::GL
 | 
			
		||||
    poly2tri
 | 
			
		||||
)
 | 
			
		||||
		Reference in New Issue
	
	Block a user