Create shader modules for output pipeline
This commit is contained in:
1 parent
f5a06e6ac1
commit
bfacea2bd4
6 files changed
+99
-17
No files matched your search
@@ -15,3 +15,9 @@ endif()
|
||||
# Link to NF library
|
||||
target_link_libraries(TestGame NothinFancy)
|
||||
target_include_directories(TestGame PUBLIC "${CMAKE_SOURCE_DIR}/NothinFancy/src/include")
|
||||
|
||||
# Copy shaders to executable directory
|
||||
add_custom_command(TARGET TestGame POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E make_directory "${PROJECT_BINARY_DIR}/TestGame/shaders"
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory "${PROJECT_BINARY_DIR}/NothinFancy/shaders" "${PROJECT_BINARY_DIR}/TestGame/shaders"
|
||||
)
|
||||
Reference in new issue
Block a user