Skip to content

Commit 2aa2395

Browse files
author
devsh
committed
a cry for help to @AnastaZIuk
1 parent 1f51c33 commit 2aa2395

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cmake/common.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ macro(nbl_create_executable_project _EXTRA_SOURCES _EXTRA_OPTIONS _EXTRA_INCLUDE
7878
if("${EXECUTABLE_NAME}" STREQUAL commonpch)
7979
add_dependencies(${EXECUTABLE_NAME} Nabla)
8080
else()
81+
# TODO: let arek figure out how to redo the PCH
82+
#[===[
8183
string(FIND "${_NBL_PROJECT_DIRECTORY_}" "${NBL_ROOT_PATH}/examples_tests" _NBL_FOUND_)
8284
8385
if(NOT "${_NBL_FOUND_}" STREQUAL "-1") # the call was made for a target defined in examples_tests, request common api PCH
@@ -89,6 +91,7 @@ macro(nbl_create_executable_project _EXTRA_SOURCES _EXTRA_OPTIONS _EXTRA_INCLUDE
8991
target_link_libraries(${EXECUTABLE_NAME} PUBLIC ${NBL_EXECUTABLE_COMMON_API_TARGET})
9092
target_precompile_headers("${EXECUTABLE_NAME}" REUSE_FROM "${NBL_EXECUTABLE_COMMON_API_TARGET}")
9193
endif()
94+
]===]
9295
endif()
9396

9497
target_include_directories(${EXECUTABLE_NAME}

examples_tests

Submodule examples_tests updated 36 files

0 commit comments

Comments
 (0)