cpuid: don't build this tool for Windows

There is a lot of topology, scheduling, and affinity code in here that
doesn't currently translate to Windows. Just don't build it right now.
This commit is contained in:
Danny Robson 2024-05-14 14:56:21 +10:00
parent ed4ad99851
commit edf10a77c8

View File

@ -688,7 +688,13 @@ endif ()
###############################################################################
foreach (tool backtrace cpuid crash log poisson macro scratch)
set(TOOL_BINARIES backtrace crash log poisson macro scratch)
if (NOT WIN32)
list(APPEND TOOL_BINARIES cpuid)
endif()
foreach (tool ${TOOL_BINARIES})
add_executable (util_${tool} tools/${tool}.cpp)
set_target_properties (util_${tool} PROPERTIES OUTPUT_NAME ${tool})
target_link_libraries (util_${tool} cruft)