Skip to content

Commit

Permalink
Added missing CMakeLists after restructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
asegura committed Feb 28, 2022
1 parent 382e400 commit 42504de
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
9 changes: 9 additions & 0 deletions samples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
set(TARGET render)

set(SRC
main.cpp
)

add_executable(${TARGET} ${SRC})

target_link_libraries(${TARGET} minirender asls)
15 changes: 15 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
set(TARGET minirender)

set(SRC
../include/minirender/Scene.h
../include/minirender/Renderer.h
../include/minirender/io.h
Scene.cpp
Renderer.cpp
io.cpp
)

add_library(${TARGET} STATIC ${SRC})

target_link_libraries(${TARGET} asls)
target_include_directories(${TARGET} PUBLIC ../include)

0 comments on commit 42504de

Please sign in to comment.