GithubHelp home page GithubHelp logo

Determine package interface about ifc HOT 9 CLOSED

microsoft avatar microsoft commented on May 18, 2024
Determine package interface

from ifc.

Comments (9)

GabrielDosReis avatar GabrielDosReis commented on May 18, 2024 1

Should the printer also be installed? If yes, should it also be made available via the CMake package (e.g. via a IFC_PRINTER_EXECUTABLE variable)? I have not yet looked at its output, so I don't know if it's useful for scripting.

The direction we are envisioning for command-line utilities is to have subcommands of ifc.exe a la GIT. So, for now don't make the printer available via CMake package yet. In fact, don't install the printer yet.

from ifc.

GabrielDosReis avatar GabrielDosReis commented on May 18, 2024

I believe the package MicrosoftIFC, and target name MicrosoftIFC::SDK sound great!

from ifc.

friendlyanon avatar friendlyanon commented on May 18, 2024

Should the printer also be installed? If yes, should it also be made available via the CMake package (e.g. via a IFC_PRINTER_EXECUTABLE variable)? I have not yet looked at its output, so I don't know if it's useful for scripting.

from ifc.

friendlyanon avatar friendlyanon commented on May 18, 2024

Oh my goodness. There goes me trying to figure out signing commits.

from ifc.

GabrielDosReis avatar GabrielDosReis commented on May 18, 2024

@friendlyanon - it looks like merging your PR makes CodeQL automatic run fails. They claim they can no longer auto build with the following command:

cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DBUILD_DOCS=OFF -DCATKIN_ENABLE_TESTING=OFF -DBUILD_DOCUMENTATION=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=  -DCMAKE_C_FLAGS=

The error from the log is:

  CMake Error at CMakeLists.txt:19 (find_package):
    By not providing "FindMicrosoft.GSL.cmake" in CMAKE_MODULE_PATH this
    project has asked CMake to find a package configuration file provided by
    "Microsoft.GSL", but CMake did not find one.
  
    Could not find a package configuration file provided by "Microsoft.GSL"
    with any of the following names:
  
      Microsoft.GSLConfig.cmake
      microsoft.gsl-config.cmake
  
    Add the installation prefix of "Microsoft.GSL" to CMAKE_PREFIX_PATH or set
    "Microsoft.GSL_DIR" to a directory containing one of the above files.  If
    "Microsoft.GSL" provides a separate development package or SDK, be sure it
    has been installed.

Any idea how to fix this?

from ifc.

friendlyanon avatar friendlyanon commented on May 18, 2024

Either by using vcpkg or passing CMAKE_MODULE_PATH as suggested in the PR.

from ifc.

GabrielDosReis avatar GabrielDosReis commented on May 18, 2024

Either by using vcpkg or passing CMAKE_MODULE_PATH as suggested in the PR.

Yeah, but that workflow is automatically run based on build system definition. The CI for release build is successful without needing anything additional. Could you have a look at the CodeQL workflow?

from ifc.

friendlyanon avatar friendlyanon commented on May 18, 2024

Based on the documentation, a build.bat and build.sh script needs to be added ot the root of the project.

from ifc.

GabrielDosReis avatar GabrielDosReis commented on May 18, 2024

Based on the documentation, a build.bat and build.sh script needs to be added ot the root of the project.

Thanks. I converted the implicit CodeQL build into an explicit workflow in the proposed PR #41 . Please, could you rebase your proposed fix on that PR? You can push (not force push) to that branch. Thanks!

from ifc.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.