Giter VIP home page Giter VIP logo

cpp-library-project-template's Introduction

== README ==

 1.) Prerequisites
 2.) Building
 3.) Installing
 4.) Contributing
 
== 1. PREREQUISITES ==

 This project requires:
  * Cross-platform Make (CMake) v2.6.2+
  * GNU Make or equivalent.
  * GCC or an alternative, reasonably conformant C++ compiler.
  * Boost C++ Libraries v1.37+ [HEADERS and LIBRARIES]
  * Log4Cxx v0.10.0+
  * UnitTest++ (a.k.a. unittest-cpp)

== 2. BUILDING ==
 
 This project uses the Cross-platform Make (CMake) build system. However, we
 have conveniently provided a wrapper configure script and Makefile so that
 the typical build invocation of "./configure" followed by "make" will work.
 For a list of all possible build targets, use the command "make help".

 NOTE: Users of CMake may believe that the top-level Makefile has been
 generated by CMake; it hasn't, so please do not delete that file.

== 3. INSTALLING ==

 Once the project has been built (see "BUILDING"), execute "sudo make install".

== 4. CONTRIBUTING ==

 TODO: Enhance section.

cpp-library-project-template's People

Stargazers

 avatar

Watchers

 avatar

cpp-library-project-template's Issues

Documentation is showing up wrong libraries

Homepage and README file shows UnitTest++ and Log4Cxx libraries but if I'm not 
mistaken the template is using google-test/google-mock and google-log 
libraries. This is probably a mix up from the 'C++ Application Project 
Template'.

Also it looks like test libraries are already included in thirdparty folder as 
submodules (or whatever it's called in svn) although google-log is not there. I 
think it would be nice to have also google-log library there by default to 
minimize dependencies.

Original issue reported on code.google.com by [email protected] on 25 Aug 2014 at 9:52

APPLICATION_VERSION_MAJOR undefined

What steps will reproduce the problem?
1. On a Mac, with no tools other than the Xcode 4 distribution stuff,
2. Download the C++ library project template
3. Run "make", and satisfy all the (too many) dependencies by running 
4. "sudo port install XXX" whenever a dependency fails.
5. Eventually, when no more dependencies remain, run "make" again to build the 
project.

I expected a successful build (with no source code of mine, there is only your 
template stuff to compile).

Instead, I got this:
{{{
~/Sources/close/compiler$ ./configure
--     includedir: /opt/local/include
--     librarydir: /opt/local/lib
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/austin/Sources/close/compiler/build
~/Sources/close/compiler$ make
"/Applications/CMake 2.8-5.app/Contents/bin/cmake" 
-H/Users/austin/Sources/close/compiler 
-B/Users/austin/Sources/close/compiler/build --check-build-system 
CMakeFiles/Makefile.cmake 0
"/Applications/CMake 2.8-5.app/Contents/bin/cmake" -E cmake_progress_start 
/Users/austin/Sources/close/compiler/build/CMakeFiles 
/Users/austin/Sources/close/compiler/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f source/CMakeFiles/sharedlib.dir/build.make 
source/CMakeFiles/sharedlib.dir/depend
cd /Users/austin/Sources/close/compiler/build && "/Applications/CMake 
2.8-5.app/Contents/bin/cmake" -E cmake_depends "Unix Makefiles" 
/Users/austin/Sources/close/compiler 
/Users/austin/Sources/close/compiler/source 
/Users/austin/Sources/close/compiler/build 
/Users/austin/Sources/close/compiler/build/source 
/Users/austin/Sources/close/compiler/build/source/CMakeFiles/sharedlib.dir/Depen
dInfo.cmake --color=
make -f source/CMakeFiles/sharedlib.dir/build.make 
source/CMakeFiles/sharedlib.dir/build
"/Applications/CMake 2.8-5.app/Contents/bin/cmake" -E cmake_progress_report 
/Users/austin/Sources/close/compiler/build/CMakeFiles 9
[ 14%] Building CXX object source/CMakeFiles/sharedlib.dir/version.cpp.o
cd /Users/austin/Sources/close/compiler/build/source && /usr/bin/c++   
-Dsharedlib_EXPORTS -fPIC -I/Users/austin/Sources/close/compiler/include 
-I/opt/local/include    -o CMakeFiles/sharedlib.dir/version.cpp.o -c 
/Users/austin/Sources/close/compiler/source/version.cpp
/Users/austin/Sources/close/compiler/source/version.cpp: In function ‘int 
projectname_version_major()’:
/Users/austin/Sources/close/compiler/source/version.cpp:6: error: 
‘APPLICATION_VERSION_MAJOR’ was not declared in this scope
make[3]: *** [source/CMakeFiles/sharedlib.dir/version.cpp.o] Error 1
make[2]: *** [source/CMakeFiles/sharedlib.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

}}}

Original issue reported on code.google.com by [email protected] on 21 Jul 2011 at 10:52

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.