-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
28 lines (19 loc) · 870 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cmake_minimum_required(VERSION 3.12)
project(Manual-Project3-Interstellar)
set(CMAKE_CXX_STANDARD 14)
find_package(OpenGL REQUIRED)
find_package(GLUT REQUIRED)
include_directories(${OPENGL_INCLUDE_DIR})
include_directories(${GLUT_INCLUDE_DIR})
#set(CMAKE_EXE_LINKER_FLAGS "-framework OpenGL -framework GLUT")
add_executable(Manual-Project3-Interstellar slot.cpp Figure.cpp Shape.cpp vector.cpp ParkingLot.cpp main.cpp MainFigure.cpp)
target_link_libraries(Manual-Project3-Interstellar ${GLUT_LIBRARY} ${OPENGL_LIBRARY})
#cmake_minimum_required(VERSION 3.12)
#project(test)
#
#set(CMAKE_CXX_STANDARD 17)
#find_package(OpenGL REQUIRED)
#find_package(GLUT REQUIRED)
#include_directories(${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS})
#add_executable(test main.cpp figure.cpp figure.h home.cpp home.h)
#target_link_libraries(test ${OPENGL_LIBRARIES} ${GLUT_LIBRARY})