Skip to content

Commit 714a297

Browse files
committed
build: update CMakeLists.txt to include additional directories for test configuration
- Added include directories for the current binary and test directories to improve test file accessibility. - Ensured proper configuration for test paths in the build process.
1 parent c14131e commit 714a297

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,10 @@ SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR})
33
# Configure test paths
44
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/test_paths.h.in" "${CMAKE_BINARY_DIR}/test/test_paths.h")
55

6+
INCLUDE_DIRECTORIES(
7+
${CMAKE_CURRENT_BINARY_DIR}
8+
${CMAKE_BINARY_DIR}/test
9+
)
10+
611
ADD_EXECUTABLE(load_test load_test.cpp)
712
ADD_SUBDIRECTORY(unittest)

0 commit comments

Comments
 (0)