diff --git a/Code/CMakeLists.txt b/Code/CMakeLists.txt index fada87c..a746684 100644 --- a/Code/CMakeLists.txt +++ b/Code/CMakeLists.txt @@ -7,15 +7,15 @@ endif() find_package(OpenGL REQUIRED) find_package(GLUT REQUIRED) -add_executable (hello_world hello_world/helloWorld.c) +add_executable (hello_world helloWorld.c) target_include_directories(hello_world PRIVATE ${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS}) target_link_libraries(hello_world ${OPENGL_LIBRARIES} ${GLUT_LIBRARY}) -add_executable (culling box/template_culling.c) +add_executable (culling template_culling.c) target_include_directories(culling PRIVATE ${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS}) target_link_libraries(culling ${OPENGL_LIBRARIES} ${GLUT_LIBRARY}) -add_executable (koordinatensystem box/template_koordinatensystemUndPunkte.c) +add_executable (koordinatensystem template_koordinatensystemUndPunkte.c) target_include_directories(koordinatensystem PRIVATE ${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS}) target_link_libraries(koordinatensystem ${OPENGL_LIBRARIES} ${GLUT_LIBRARY}) target_link_libraries(koordinatensystem m) # Math library diff --git a/Code/hello_world/helloWorld.c b/Code/helloWorld.c similarity index 100% rename from Code/hello_world/helloWorld.c rename to Code/helloWorld.c diff --git a/Code/box/template_culling.c b/Code/template_culling.c similarity index 100% rename from Code/box/template_culling.c rename to Code/template_culling.c diff --git a/Code/box/template_koordinatensystemUndPunkte.c b/Code/template_koordinatensystemUndPunkte.c similarity index 100% rename from Code/box/template_koordinatensystemUndPunkte.c rename to Code/template_koordinatensystemUndPunkte.c