load map/obj
This commit is contained in:
parent
6b454d46ad
commit
8383fc1edf
18 changed files with 305 additions and 43 deletions
19
CMakeLists.txt
Normal file
19
CMakeLists.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(3d-renderer LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
add_executable(3d-renderer src/main.cpp
|
||||
src/object/3dObject.cpp src/object/3dObject.h
|
||||
src/object/map.cpp src/object/map.h
|
||||
src/object/object.cpp src/object/object.h
|
||||
src/object/plane.cpp src/object/plane.h
|
||||
src/object/point.cpp src/object/point.h)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
install(TARGETS 3d-renderer
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue