Skip to content

how do we deal with prebuilt library? #51

Description

@hl4

Is your feature request related to a problem? Please describe.
I want to include prebuilt library into the build system. e.g. the boost.filesystem library, unit-test-framework, openssl.

Describe the solution you'd like
We might introduce a configuration of the prebuilt library. e.g library may have name, header files, depends libraries and so on. we can load the config file while project is scanning. There are all binary component in evoke build system just like the builtin libraries.
We also can use the config for builtin libraries.

{
"boost_unit_test_framework": {
    "header": [
      "boost/test"
    ]
  },
  "boost_unittest_standalone": { 
    "headerOnly": true,
    "header": [
      "boost/test/included/unit_test.hpp"
    ]
  }
}

I found it hard to describe and to use the feature variant of prebuilt library. e.g. Boost.Asio library. They are introduced by feature macro, and resulted different library name and more dependancy.

additionally, we need to specify the platform, , runtime and debug variant of prebuilt library.

Describe alternatives you've considered
Should we only introduce those library built from source files?

Additional context
no more

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions