Coder Social home page Coder Social logo

marcmo / cxxproject Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 4.0 4.81 MB

build and manage c++ projects

Home Page: http://marcmo.github.com/cxxproject/index.html

License: BSD 2-Clause "Simplified" License

Ruby 93.37% C++ 6.09% C 0.27% Protocol Buffer 0.26% Makefile 0.01%

cxxproject's People

Contributors

gizmomogwai avatar marcmo avatar omueller88 avatar qinqon avatar waffle-with-pears avatar

Stargazers

 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

cxxproject's Issues

create api-conformance tests

it should be easy to detect if we introduce a change in our public api
(not only the signatures, but also the behavior)

Object files are created outside of "objects" directory in case source file paths start with a ".."

If build dir is "./build", object files should be in "./build/objects".
If a source file is "../src/filex.c", the object file will be created in "./build/src/" instead of "./build/objects/src/".
It is probably necessary to protect against name clashes within the "objects" directory. I.e. if several "src" directories are referenced via relative paths, all starting with src (../src, ../../src, etc.) and containing files with the same names.

return value of rake is wrong if build fails

should be something != 0
example:
~/_projects/cxxproject/lib (master) > cat test.rb
require 'cxxproject'
task :blub do
sh 'cat gibts nicht'
end
~/_projects/cxxproject/lib (master) > rake -f test.rb blub
cat gibts nicht
cat: gibts: No such file or directory
cat: nicht: No such file or directory
Error for task: blub Command failed with status (1): [cat gibts nicht...]
~/_projects/cxxproject/lib (master) > echo $?
0

without require 'cxxproject' the return value is 1

precedence of -L and -I flags ...

problem:
the system has installed protobuf libs in /usr/lib and i want to link against the cxxproject built protobuf library

because the gcc toolchain has /usr/lib /usr/local/lib in its lib search path the linking does not work (because the local protobuf library has a newer api than the installed one!)

g++ -all_load -o build/exes/addressbook_write.exe build/objects/addressbook_write/addressbook_write.cc.o -Wl,--whole-archive -L/usr/local/lib -L/usr/lib -Lbuild/libs -laddressbook_pb_api -lprotobuf -lz -lpthread -Wl,--no-whole-archive

make a tutorial with google protobuf

the tutorial should contain how to bundle the proto-runtime as buildingblock
and how to get the protoc working in a project that uses cxxproject

llvm support

toolchain support for llvm (readily available at least for osx and linux)

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.