• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

viboes/std-make: C++ generic make factory

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

viboes/std-make

开源软件地址:

https://github.com/viboes/std-make

开源编程语言:

C++ 99.1%

开源软件介绍:

JASEL: Just a simple experimental library for C++

Experimental library for C++11/14/17.

LWG Proposals

Ongoing Proposals

No yet reviewed yet Proposals

This code forms the basis of several formal proposal to the C++ standard library

New revisions proposals

Draft R0 proposals

Withdrawal proposals

The following proposals have been abandoned and should be replaced by an alternative customization approach on ProductTypes

Development Status

This code is undocumented (other than via the proposals), not fully tested, constantly changing, and generally not fit for any use whatsoever.

License

Most of the source code in this project are mine, and those are under the Boost Software License. I have borrowed a lot from Hana original editions, before it becomes Boost.Hana. A lot of code is inspired from the library Meta.

Supported Compilers

The code is known to work with the following compilers:

  • Clang 5.0.0 -std=c++11 -std=c++14 -std=c++1y
  • Clang 6.0.0 -std=c++11 -std=c++14 -std=c++1y -std=c++2a
  • Clang 7.0.0 -std=c++11 -std=c++14 -std=c++1y -std=c++2a
  • GCC 6.1.1 -std=c++11 -std=c++14 -std=c++1z
  • GCC 7.3.0 -std=c++11 -std=c++14 -std=c++1z

Other compiler and older versions could works as well, but are not tested regularly

Development Status: The aim of the library is to be portable on conforming C++11/14/17 compilers. However some modules require

  • C++14:

    • product_type
    • sum_type,
    • functional/overload
    • swappable
  • C++17

    • expected

Hopefully this will change in the future.

Header only library

Dependencies

Some parts of the code use other repositories as Boost, Optional and Expected. You will need to set some environment variable to be able to build the test.

Next follows the repositories and the required variable pointing to them:

How to test

You can either use CMAKE or Boost.Build.

Boost.Build

You need to have installed The 3 dependent repositories and define the variable described above. In order to run the tests go to the test folder and do

b2 toolset=<your tool set>

CMAKE

The CMAKE build doesn't use the additional repositories Optional and Expected, and so there are less test.

You need to install Boost and define the variable described above.

Do as you will do with CMAKE, make a build directory associated to your tool set and

mkdir build
cd build
cmake -C <toolset-file> <jasel-root-directory>

Then you can build the tests

make -j8

and run the test

make -j8 test

You can as well use CTEST.

Acknowledgements

Many thanks to Agustín K-ballo Bergé, David Sankel for his help, and pertinent feedback.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap