3D Scene initial
This commit is contained in:
parent
805c891557
commit
5c90192c9f
8 changed files with 117 additions and 77 deletions
|
|
@ -4,11 +4,12 @@ project(RayTracer)
|
|||
file(GLOB SOURCES "./private/*.cpp" "./private/*/*.cpp")
|
||||
file(GLOB HEADERS "./public/*.hpp" "./public/*/*.hpp" "./applications/*.hpp")
|
||||
add_library(${PROJECT_NAME} STATIC ${SOURCES} ${HEADERS})
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC ./public/ ../Externals/)
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC Math Connection)
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC ./public/)
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC 3DScene Connection)
|
||||
|
||||
### -------------------------- Applications -------------------------- ###
|
||||
add_executable(rayt ./applications/Rayt.cpp applications/SceneLoad.cpp applications/Rayt.hpp)
|
||||
file(GLOB APP_SOURCES "./applications/*.cpp")
|
||||
add_executable(rayt ${APP_SOURCES})
|
||||
target_link_libraries(rayt ${PROJECT_NAME} Lua ImageIO)
|
||||
file(COPY "applications/rsc" DESTINATION "${CMAKE_BINARY_DIR}/${PROJECT_NAME}/")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue