Debian Codegraph @

contrib/windows-cmake/README

raw
1 This CMake support for Windows builds is inspired from
2 https://github.com/microsoft/vcpkg/blob/7e495c0773353de69f24f3af8aea0ae9a129508c/ports/hwloc/CMakeLists.txt
3 (before vcpkg switched from CMake to autotools).
4
5 May be used with:
6 $ cmake [options] -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=\path\to\install .
7 $ cmake --build .
8 $ cmake --build . --target INSTALL
9
10 The "Debug" build type is also available, it enables lots of
11 verbose debug messages and assertions.
12
13 Options:
14 -DHWLOC_SKIP_LSTOPO=1 to ignore lstopo
15 -DHWLOC_SKIP_TOOLS=1 to ignore other hwloc command-line tools
16 -DHWLOC_SKIP_INCLUDES=1 to ignore header installation
17
18 See contrib/ci.inria.fr/job-1-wincmake.bat for an example.
19
20
21 hwloc-compress-dir not built because it needs work.
22
23 hwloc-gather-topology is Linux specific.
24
25 hwloc-ps is not built because it does nothing on Windows anyway (see #367).