Giter Club home page Giter Club logo

abseil-hello's Introduction

Abseil Quick Start

For using Abseil with the Bazel buildsystem, see bazel-hello.

For using Abseil with the CMake meta-buildsystem, see cmake-hello.

abseil-hello's People

Contributors

ckennelly avatar derekmauro avatar yannic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

abseil-hello's Issues

@Mizux, this problem is not exhibited in Cartographer master. Cartographer master uses `ExternalProject_add` to build Abseil. `standalone_absl` is a single imported target. Imported targets' include directories are marked as `SYSTEM` by default.

@Mizux, this problem is not exhibited in Cartographer master. Cartographer master uses ExternalProject_add to build Abseil. standalone_absl is a single imported target. Imported targets' include directories are marked as SYSTEM by default.

The problem is exhibited in my PR cartographer-project/cartographer#1387, where I fetch abseil during configuring, and build it later using add_subdirectory. If we were fixing this on Cartographer's side, we would have to move INTERFACE_SYSTEM_INCLUDE_DIRECTORIES to INTERFACE_INCLUDE_DIRECTORIES for all Abseil targets (and not just a single standalone_abseil target), and there is a whole bunch of them. I am not aware of how you would even enumerate them in CMake in a portable way - there is BUILDSYSTEM_TARGETS, but that exists only in CMake 3.7+.

Originally posted by @ojura in abseil/abseil-cpp#157 (comment)

Switch from to branches for configurations

The existing setup with subdirectories lacks the simplicity users want from a fire and forget start project.

https://github.com/fowles/abseil-hello

Switches to a structure where each branch contains only the information needed for that build system. Major changes:

  • cmake now includes googletest
  • cmake and bazel build the same code and tests
  • neither includes extra subdirectories
  • all the README's have been reworked

Because this requires adding several branches, the ordinary "pull request" workflow doesn't work so I am just pointing to a finished repo for you to pull from.

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.