Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIndows CMake: work with non-MSVC compilers too #493

Merged
merged 15 commits into from
Nov 26, 2021

Commits on Nov 15, 2021

  1. windows-cmake: publicize user-facing options

    best practice to use absolute reference for relative paths
    
    Signed-off-by: Michael Hirsch <michael@scivision.dev>
    scivision committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    f5de3b8 View commit details
    Browse the repository at this point in the history
  2. windows-cmake: Configure dynamically based on platform capabilities

    Signed-off-by: Michael Hirsch <michael@scivision.dev>
    scivision committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    3155d4c View commit details
    Browse the repository at this point in the history
  3. windows-cmake: use setter methods, msvc-only options to allow non-msvc

    Signed-off-by: Michael Hirsch <michael@scivision.dev>
    scivision committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    936f25b View commit details
    Browse the repository at this point in the history
  4. windows-cmake: use modern install() method syntax

    Signed-off-by: Michael Hirsch <michael@scivision.dev>
    scivision committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    2d582d1 View commit details
    Browse the repository at this point in the history
  5. windows-cmake: hwloc object for deduplicated internal logic

    Naming targets with a "lib" prefix is unconventional for CMake and
    causes unexpected file naming. Instead, we set
    CMAKE_*_LIBRARY_PREFIX to name libhwloc.* consistently across
    platforms
    
    Signed-off-by: Michael Hirsch <michael@scivision.dev>
    scivision committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    a580973 View commit details
    Browse the repository at this point in the history
  6. windows-cmake: add tests

    Signed-off-by: Michael Hirsch <michael@scivision.dev>
    scivision committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    53cc89c View commit details
    Browse the repository at this point in the history
  7. windows-cmake:CI: use CMake CTest

    Signed-off-by: Michael Hirsch <michael@scivision.dev>
    scivision committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    b335a66 View commit details
    Browse the repository at this point in the history
  8. windows-cmake: add WIN32 option for GUI no-console

    Signed-off-by: Michael Hirsch <scivision@users.noreply.github.com>
    scivision committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    872da75 View commit details
    Browse the repository at this point in the history
  9. windows-cmake: search for LibXml2

    Signed-off-by: Michael Hirsch <michael@scivision.dev>
    scivision committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    6bd535c View commit details
    Browse the repository at this point in the history
  10. windows-cmake: auto-configure static-components.h

    Signed-off-by: Michael Hirsch <michael@scivision.dev>
    scivision committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    d067485 View commit details
    Browse the repository at this point in the history
  11. windows-cmake: optional cuda enabled

    Signed-off-by: Michael Hirsch <michael@scivision.dev>
    scivision committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    3ed5667 View commit details
    Browse the repository at this point in the history
  12. windows-cmake: conditional enable x86 component

    Signed-off-by: Michael Hirsch <michael@scivision.dev>
    scivision committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    da17626 View commit details
    Browse the repository at this point in the history
  13. windows-cmake: do not force lib filename prefix on MSVC

    Signed-off-by: Michael Hirsch <michael@scivision.dev>
    
    Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
    scivision and Neumann-A committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    11c0715 View commit details
    Browse the repository at this point in the history
  14. windows-cmake: make explicit options for libxml2,cuda,opencl

    Signed-off-by: Michael Hirsch <michael@scivision.dev>
    scivision committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    d630209 View commit details
    Browse the repository at this point in the history
  15. windows-cmake: better BUILD_SHARED_LIBS default

    Signed-off-by: Michael Hirsch <michael@scivision.dev>
    scivision committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    23506ae View commit details
    Browse the repository at this point in the history