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:
parent
ed4ad99851
commit
edf10a77c8
@ -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)
|
add_executable (util_${tool} tools/${tool}.cpp)
|
||||||
set_target_properties (util_${tool} PROPERTIES OUTPUT_NAME ${tool})
|
set_target_properties (util_${tool} PROPERTIES OUTPUT_NAME ${tool})
|
||||||
target_link_libraries (util_${tool} cruft)
|
target_link_libraries (util_${tool} cruft)
|
||||||
|
Loading…
Reference in New Issue
Block a user