Skip to content

Commit b6fbeef

Browse files
committed
[DO NOT MERGE] Add print output to debug a CMake condition on Windows.
1 parent 58a965d commit b6fbeef

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

roottest/python/cling/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,14 @@ if(pyroot)
88
# TPython::LoadMacro and TPython::Import are broken in the new Cppyy
99
# https://bitbucket.org/wlav/cppyy/issues/65
1010
# For now, we rely on our own implementation of TPython
11+
include(CMakePrintHelpers)
12+
message(WARNING "Debug this condition:")
13+
cmake_print_variables(MSVC CMAKE_SIZEOF_VOID_P llvm13_broken_tests)
1114
if(NOT MSVC OR CMAKE_SIZEOF_VOID_P EQUAL 8 OR llvm13_broken_tests)
15+
message(WARNING "Entered outer if")
16+
cmake_print_variables(CMAKE_GENERATOR_PLATFORM win_broken_tests)
1217
if(NOT MSVC OR "${CMAKE_GENERATOR_PLATFORM}" MATCHES "Win32" OR win_broken_tests)
18+
1319
ROOTTEST_ADD_TEST(class MACRO
1420
runPyClassTest.C
1521
WORKING_DIR ${CMAKE_CURRENT_SOURCE_DIR}

0 commit comments

Comments
 (0)