Skip to content

Commit 25b02d2

Browse files
author
devsh
committed
mess up the cmake a bit for example 13 but only to make Nabla and Examples PCH not compile when I iterate the material compiler stuff
1 parent 548a649 commit 25b02d2

File tree

3 files changed

+3
-246
lines changed

3 files changed

+3
-246
lines changed

13_MaterialCompilerTest/CFrontendIR.cpp

Lines changed: 0 additions & 244 deletions
This file was deleted.

13_MaterialCompilerTest/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ if(NOT RES)
33
message(FATAL_ERROR "common.cmake not found. Should be in {repo_root}/cmake directory")
44
endif()
55

6+
# keep the sources here for a while so we can quickly iterate
67
set(NBL_EXTRA_SOURCES
7-
"${CMAKE_CURRENT_SOURCE_DIR}/CFrontendIR.cpp"
8+
"${NBL_ROOT_PATH}/src/nbl/asset/material_compiler3/CFrontendIR.cpp"
89
)
910

1011
nbl_create_executable_project("${NBL_EXTRA_SOURCES}" "" "" "" "${NBL_EXECUTABLE_PROJECT_CREATION_PCH_TARGET}")

13_MaterialCompilerTest/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
#include "nbl/examples/examples.hpp"
77

8-
//! Temporary
8+
//! Temporary, for faster iteration outside of PCH
99
#include "nbl/asset/material_compiler3/CFrontendIR.h"
1010

1111

0 commit comments

Comments
 (0)