Commit 5cccc959 authored by O'Reilly Media, Inc.'s avatar O'Reilly Media, Inc.
Browse files

Initial commit

parents
Loading
Loading
Loading
Loading

1-1.cpp

0 → 100644
+53 −0
Changes for 1-1.cpp: 53 added lines, 0 removed lines.
Original line number Diff line number Diff line
// johnpaul/john.hpp
#ifndef JOHN_HPP_INCLUDED
#define JOHN_HPP_INCLUDED

void john( ); // Prints "John, "

#endif // JOHN_HPP_INCLUDED

// johnpaul/john.cpp
#include <iostream>
#include "john.hpp"

void john( )
{
   std::cout << "John, ";
}

// johnpaul/paul.hpp
#ifndef PAUL_HPP_INCLUDED
#define PAUL_HPP_INCLUDED

void paul( ); // Prints " Paul, "

#endif // PAUL_HPP_INCLUDED

// johnpaul/paul.cpp
#include <iostream>
#include "paul.hpp"

void paul( )
{
   std::cout << "Paul, ";
}

// johnpaul/johnpaul.hpp
#ifndef JOHNPAUL_HPP_INCLUDED
#define JOHNPAUL_HPP_INCLUDED

void johnpaul( ); // Prints "John, Paul, "

#endif // JOHNPAUL_HPP_INCLUDED

// johnpaul/johnpaul.cpp

#include "john.hpp"
#include "paul.hpp"
#include "johnpaul.hpp"

void johnpaul( )
{
   john( );
   paul( );
}

1-10.cpp

0 → 100644
+6 −0
Changes for 1-10.cpp: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
install target-name
   : files
   : requirements
   : default-build
   : usage-requirements
   ;

1-11.cpp

0 → 100644
+10 −0
Changes for 1-11.cpp: 10 added lines, 0 removed lines.
Original line number Diff line number Diff line
# Jamfile for project libjohnpaul
   lib libjohnpaul
   : # sources
      john.cpp paul.cpp johnpaul.cpp
   : # requirements
      <link>static
   : # default-build
   : # usage-requirements
      <include>..
   ;

1-12.cpp

0 → 100644
+11 −0
Changes for 1-12.cpp: 11 added lines, 0 removed lines.
Original line number Diff line number Diff line
# Jamfile for project georgringo
lib libgeorgeringo
   : # sources
      george.cpp ringo.cpp georgeringo.cpp
   : # requirements
      <link>shared
      <define>GEORGERINGO_DLL
   : # default-build
   : # usage-requirements
      <include>..
   ;

1-13.cpp

0 → 100644
+16 −0
Changes for 1-13.cpp: 16 added lines, 0 removed lines.
Original line number Diff line number Diff line
# Jamfile for project hellobeatles
exe hellobeatles
   : # sources
      ../johnpaul//libjohnpaul
      ../georgeringo//libgeorgeringo
      hellobeatles.cpp
   ;
   install dist
   : # sources
      hellobeatles
   : # requirements
      <install-dependencies>on
      <install-type>EXE
      <install-type>SHARED_LIB
      <location>.
   ;
Loading