Skip to content

Commit 26113bd

Browse files
committed
Creating a 'temp' directory under bin2cpp's build directory for quickly running command line samples from bin2cpp.samples.txt.
1 parent da86472 commit 26113bd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ add_subdirectory(src/bin2cpp)
180180

181181
# unit tests
182182
if(BIN2CPP_BUILD_TEST)
183+
# Create a temp directory under the build directory to output temporary files.
184+
make_directory(${CMAKE_CURRENT_BINARY_DIR}/temp)
185+
183186
add_subdirectory(test/testfilegenerator)
184187
add_subdirectory(test/bin2cpp_unittest)
185188
endif()

0 commit comments

Comments
 (0)