mirror of
				https://github.com/lov3b/Pong.git
				synced 2025-11-03 23:00:19 +01:00 
			
		
		
		
	add src dir
This commit is contained in:
		@@ -21,15 +21,15 @@ endif ()
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Define the executable target before linking libraries
 | 
					# Define the executable target before linking libraries
 | 
				
			||||||
add_executable(Pong main.cpp
 | 
					add_executable(Pong src/main.cpp
 | 
				
			||||||
        SdlWrapper.h
 | 
					        src/SdlWrapper.h
 | 
				
			||||||
        Game.h
 | 
					        src/Game.h
 | 
				
			||||||
        VisibleObjects/Ball.h
 | 
					        src/VisibleObjects/Ball.h
 | 
				
			||||||
        Vec2d/Vec2d.h
 | 
					        src/Vec2d/Vec2d.h
 | 
				
			||||||
        Vec2d/Bump.h
 | 
					        src/Vec2d/Bump.h
 | 
				
			||||||
        VisibleObjects/PlayerPaddle.h
 | 
					        src/VisibleObjects/PlayerPaddle.h
 | 
				
			||||||
        VisibleObjects/Side.h
 | 
					        src/VisibleObjects/Side.h
 | 
				
			||||||
        VisibleObjects/Score.h)
 | 
					        src/VisibleObjects/Score.h)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Now link the libraries to the target
 | 
					# Now link the libraries to the target
 | 
				
			||||||
target_link_libraries(Pong ${SDL2_LIBRARIES} ${SDL2_GFX_LIBRARY} ${SDL2_TTF_LIBRARY})
 | 
					target_link_libraries(Pong ${SDL2_LIBRARIES} ${SDL2_GFX_LIBRARY} ${SDL2_TTF_LIBRARY})
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user