Skip to content

Commit 19167c5

Browse files
author
devsh
committed
leave pointers on how to port example 62_CAD, also EXCLUDE_FROM_ALL the examples which are WIP on this branch
1 parent 19df6e1 commit 19167c5

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

62_CAD/main.cpp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
2-
using namespace nbl::hlsl;
3-
using namespace nbl;
4-
using namespace core;
5-
using namespace system;
6-
using namespace asset;
7-
using namespace ui;
8-
using namespace video;
1+
// TODO: Copyright notice
2+
93

4+
#include "nbl/examples/examples.hpp"
5+
6+
using namespace nbl;
7+
using namespace nbl::core;
8+
using namespace nbl::hlsl;
9+
using namespace nbl::system;
10+
using namespace nbl::asset;
11+
using namespace nbl::ui;
12+
using namespace nbl::video;
13+
// TODO: probably need to be `using namespace nbl::examples` as well, see other examples
1014

11-
#include "nbl/application_templates/MonoAssetManagerAndBuiltinResourceApplication.hpp"
12-
#include "SimpleWindowedApplication.hpp"
13-
#include "InputSystem.hpp"
14-
#include "nbl/video/utilities/CSimpleResizeSurface.h"
1515

1616
#include "nbl/ext/FullScreenTriangle/FullScreenTriangle.h"
1717
#include "nbl/ext/TextRendering/TextRendering.h"

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,18 @@ if(NBL_BUILD_EXAMPLES)
7171
add_subdirectory(47_DerivMapTest EXCLUDE_FROM_ALL)
7272
add_subdirectory(54_Transformations EXCLUDE_FROM_ALL)
7373
add_subdirectory(55_RGB18E7S3 EXCLUDE_FROM_ALL)
74-
add_subdirectory(61_UI)
75-
add_subdirectory(62_CAD)
74+
add_subdirectory(61_UI EXCLUDE_FROM_ALL) # TODO: resurrect before `mesh_loaders` merge
75+
add_subdirectory(62_CAD EXCLUDE_FROM_ALL) # TODO: Erfan, Przemek, Francisco and co. need to resurrect this
7676
add_subdirectory(62_SchusslerTest EXCLUDE_FROM_ALL)
7777
add_subdirectory(64_EmulatedFloatTest)
7878
add_subdirectory(0_ImportanceSamplingEnvMaps EXCLUDE_FROM_ALL) #TODO: integrate back into 42
7979

8080
add_subdirectory(66_HLSLBxDFTests EXCLUDE_FROM_ALL)
81-
add_subdirectory(67_RayQueryGeometry)
81+
add_subdirectory(67_RayQueryGeometry EXCLUDE_FROM_ALL) # TODO: resurrect before `mesh_loaders` merge
8282
add_subdirectory(68_JpegLoading)
8383

8484
add_subdirectory(70_FLIPFluids)
85-
add_subdirectory(71_RayTracingPipeline)
85+
add_subdirectory(71_RayTracingPipeline EXCLUDE_FROM_ALL) # TODO: resurrect before `mesh_loaders` merge
8686

8787
# add new examples *before* NBL_GET_ALL_TARGETS invocation, it gathers recursively all targets created so far in this subdirectory
8888
NBL_GET_ALL_TARGETS(TARGETS)

0 commit comments

Comments
 (0)