Skip to content

sintef-ocean/conan-fmu-compliance-checker

Repository files navigation

Linux GCC Windows MSVC

Conan.io recipe for Modelica tools' FMUComplianceChecker.

How to use this package

  1. Add remote to conan's package remotes

    $ conan remote add sintef https://artifactory.smd.sintef.no/artifactory/api/conan/conan-local
  2. Using conanfile.txt and cmake in your project.

    Add conanfile.txt:

    [options]
    eprosima-fmu-compliance-checker:with_tools=True
    
    [tool_requires]
    cmake/[>=3.25.0]
    fmu-compliance-checker/2.0.4@sintef/stable
    [layout]
    cmake_layout
    
    [generators]
    CMakeDeps
    CMakeToolchain
    VirtualBuildEnv
    
    

    A command line tool fmuCheck.linux64 or fmuCheck.win64 is available to check FMUs when virtual environment is active. There is also a convenience executable target FMUComplianceChecker::executable for CMake users that can be used, as well as add_fmu_compliance_check(testName fmuPath), which adds an add_test() using the executable target.

    find_package(FMUComplianceChecker REQUIRED CONFIG)
    add_fmu_compliance_check("MyFMU_is_compliant" ${PATH_TO_FMU})
    

Package options

Option Allowed values Default
fPIC [True, False] True

To build and run tests, set tools.build:skip_test=False in global.conf, in [conf] or --conf as part of conan install.

Known recipe issues

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published