Skip to content

Commit e461bd5

Browse files
committed
cmake: Add debug output
1 parent 6b4bb05 commit e461bd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

example/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
function(ADD_WINDOWS_DLL_PATH_TO_TEST TEST_NAME)
22
if(WIN32)
33
get_test_property(${TEST_NAME} ENVIRONMENT ENV_VARIABLES)
4+
message(STATUS "ENV_VAR pre: ${ENV_VARIABLES}")
45
list(APPEND ENV_VARIABLES
56
"PYCPPAD_WINDOWS_DLL_PATH=$<TARGET_FILE_DIR:${PROJECT_NAME}::${PROJECT_NAME}>")
7+
message(STATUS "ENV_VAR post: ${ENV_VARIABLE}")
68
set_tests_properties(${TEST_NAME} PROPERTIES ENVIRONMENT "${ENV_VARIABLES}")
79
endif()
810
endfunction()

0 commit comments

Comments
 (0)