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

Add cmake support #174

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Commits on Apr 22, 2019

  1. Added CMake build system

    mmha committed Apr 22, 2019
    Configuration menu
    Copy the full SHA
    780f1a4 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2020

  1. Configuration menu
    Copy the full SHA
    1af2f24 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    645c6d1 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2020

  1. fix finding libc++ coroutine header on ubuntu

    Sylvain Garcia committed Oct 7, 2020
    Configuration menu
    Copy the full SHA
    c9c3c8f View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2020

  1. Merge pull request #1 from Garcia6l20/add_cmake_support

    Add cmake support
    andreasbuhr committed Oct 10, 2020
    Configuration menu
    Copy the full SHA
    4901f47 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2020

  1. Configuration menu
    Copy the full SHA
    12e80c9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0112bd8 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2020

  1. Configuration menu
    Copy the full SHA
    5f20152 View commit details
    Browse the repository at this point in the history
  2. test discovery

    - adding doctest discovery (doctest.cmake)
    Sylvain Garcia committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    e6a0fd1 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2020

  1. add test prefix

    Sylvain Garcia committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    ffccd88 View commit details
    Browse the repository at this point in the history
  2. overridable timeouts

    Garcia6l20 committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    fd023d9 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #5 from Garcia6l20/add_cmake_support

    test discovery
    andreasbuhr committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    dfeca19 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2020

  1. Configuration menu
    Copy the full SHA
    cdf7622 View commit details
    Browse the repository at this point in the history
  2. CMake: leave C++ standard selection to the user

    FindCoroutines.cmake tried to figure out the correct flags to use
    coroutines. However, with MSVC 16.8 this is impossible. MSVC 16.8
    supports both the coroutines-ts with its experimental headers
    and experimental namespace as well as the C++20 coroutines.
    The user can select the coroutines-ts with the /await flag and
    the C++20 coroutines with /std:c++latest. Only the user can know
    what she wants.
    This patch changes the logic in FindCoroutines.cmake to basically:
    If it does not compile without (/await|-fcoroutines-ts),
    try adding (/await|-fcoroutines-ts) to the compiler flags.
    andreasbuhr committed Oct 21, 2020
    Configuration menu
    Copy the full SHA
    f6fb710 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2020

  1. remove CTest

    Garcia6l20 authored and Sylvain Garcia committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    00d4366 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2020

  1. add missing stuff for MSVC

    - tests-main library changed to STATIC
     - MSVC dlls would require to do extra import/export effort
    Sylvain Garcia authored and Garcia6l20 committed Oct 23, 2020
    Configuration menu
    Copy the full SHA
    a363b47 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd49077 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e0cd46a View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2020

  1. Merge pull request #15 from Garcia6l20/add_cmake_support

    Add cmake support
    andreasbuhr committed Oct 24, 2020
    Configuration menu
    Copy the full SHA
    07bb85e View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2020

  1. Configuration menu
    Copy the full SHA
    e77a347 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2020

  1. Remove C++20 definition in lib/CMakeLists.txt

    lib/CMakeLists.txt contained a
    target_compile_features(cppcoro PUBLIC cxx_std_20)
    which forced cppcoro to be built with C++20. However, the user
    might want to compile in C++17 mode. This statement made it
    impossible. This patch removes this statement.
    andreasbuhr committed Dec 6, 2020
    Configuration menu
    Copy the full SHA
    c8e0740 View commit details
    Browse the repository at this point in the history