Skip to content

Ex builtin archives #200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

devshgraphicsprogramming
Copy link
Member

No description provided.

…e archives, update common/include/nbl/examples/common/BuiltinResourcesApplication.hpp and test on 09 example
…et created with NBL_REGISTER_SPIRV_SHADERS utility, update CSimpleDebugRenderer.hpp, change location of unified.hlsl
CMakeLists.txt Outdated
@@ -95,6 +95,9 @@ if(NBL_BUILD_EXAMPLES)
target_link_libraries(${T} PUBLIC ${NBL_EXAMPLES_API_TARGET})
target_include_directories(${T} PUBLIC $<TARGET_PROPERTY:${NBL_EXAMPLES_API_TARGET},INCLUDE_DIRECTORIES>)
target_precompile_headers(${T} REUSE_FROM "${NBL_EXAMPLES_API_TARGET}")
LINK_BUILTIN_RESOURCES_TO_TARGET(${T} NblExtExamplesAPIBuiltinsSource)
LINK_BUILTIN_RESOURCES_TO_TARGET(${T} NblExtExamplesAPIBuiltinsInclude)
LINK_BUILTIN_RESOURCES_TO_TARGET(${T} NblExtExamplesAPIBuiltinsSPIRV)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why SPIR-V, could be anything in the build dir really

Comment on lines +14 to +23
#if __has_include("nbl/this_example/builtin/CArchive.h")
#include "nbl/this_example/builtin/CArchive.h"
#endif
// TODO: (**) there should be also 5th arch "nbl/this_example/builtin/build/spirv/CArchive.h"
/*
#if __has_include("nbl/this_example/builtin/build/spirv/CArchive.h")
#include "nbl/this_example/builtin/build/spirv/CArchive.h"
#endif
*/
//! this ain't meant to be the same as this_example ordinary archive
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need 3 (include,src,build) to keep symmetry with rest, then

… seems NSC cannot find boost headers (like something is off with mounting the boost directory)
Base automatically changed from mesh_loaders to master July 1, 2025 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants