mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-08 17:04:41 -04:00
Squashed 'boost/' content from commit b4feb19f2
git-subtree-dir: boost git-subtree-split: b4feb19f287ee92d87a9624b5d36b7cf46aeadeb
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// Copyright (c) 2003 Institute of Transport,
|
||||
// Railway Construction and Operation,
|
||||
// University of Hanover, Germany
|
||||
//
|
||||
// Use, modification and distribution are subject to the
|
||||
// Boost Software License, Version 1.0. (See accompanying file
|
||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <qobject.h>
|
||||
|
||||
class TestA : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
TestA();
|
||||
|
||||
// Needed to suppress 'unused variable' varning.
|
||||
void do_something() { }
|
||||
};
|
||||
@@ -0,0 +1,45 @@
|
||||
# ================================================================
|
||||
#
|
||||
# Railsys
|
||||
# --------------
|
||||
#
|
||||
# Copyright (c) 2002 Institute of Transport,
|
||||
# Railway Construction and Operation,
|
||||
# University of Hanover, Germany
|
||||
# Copyright (c) 2006 Jürgen Hunold
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or copy at
|
||||
# http://www.boost.org/LICENSE_1_0.txt)
|
||||
#
|
||||
# 02/21/02! Jürgen Hunold
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# ================================================================
|
||||
|
||||
local BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;
|
||||
|
||||
use-project /libx : ../libx/src ;
|
||||
|
||||
project program
|
||||
: requirements
|
||||
<include>$(BOOST_ROOT)
|
||||
<threading>multi
|
||||
<library>/qt3//qt
|
||||
<hardcode-dll-paths>true
|
||||
<stdlib>stlport
|
||||
<use>/libx
|
||||
<library>/libx//libx
|
||||
|
||||
: usage-requirements
|
||||
<include>$(BOOST_ROOT)
|
||||
:
|
||||
default-build release
|
||||
<threading>multi
|
||||
<library>/qt3//qt
|
||||
<hardcode-dll-paths>true
|
||||
;
|
||||
|
||||
build-project main ;
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
# Copyright (c) 2002 Institute of Transport,
|
||||
# Railway Construction and Operation,
|
||||
# University of Hanover, Germany
|
||||
# Copyright (c) 2006 Jürgen Hunold
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or copy at
|
||||
# http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
# Tell that Qt3 should be used. QTDIR will give installation prefix.
|
||||
using qt3 ;
|
||||
|
||||
# Not that good, but sufficient for testing
|
||||
using stlport : : /path/to/stlport ;
|
||||
@@ -0,0 +1,14 @@
|
||||
# Copyright (c) 2003 Institute of Transport,
|
||||
# Railway Construction and Operation,
|
||||
# University of Hanover, Germany
|
||||
# Copyright (c) 2006 Jürgen Hunold
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or copy at
|
||||
# http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
project liba ;
|
||||
|
||||
lib liba : test ../include/test_a.h ;
|
||||
|
||||
obj test : test_a.cpp : <optimization>off ;
|
||||
@@ -0,0 +1,17 @@
|
||||
// Copyright (c) 2003 Institute of Transport,
|
||||
// Railway Construction and Operation,
|
||||
// University of Hanover, Germany
|
||||
//
|
||||
// Use, modification and distribution are subject to the
|
||||
// Boost Software License, Version 1.0. (See accompanying file
|
||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include "../include/test_a.h"
|
||||
|
||||
#include <test_libx.h>
|
||||
|
||||
TestA::TestA()
|
||||
{
|
||||
TestLibX aTestLibX;
|
||||
aTestLibX.do_something();
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
# Copyright (c) 2002 Institute of Transport,
|
||||
# Railway Construction and Operation,
|
||||
# University of Hanover, Germany
|
||||
# Copyright (c) 2006 Jürgen Hunold
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or copy at
|
||||
# http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
project main ;
|
||||
|
||||
exe test_a : main.cpp ../liba//liba /libx ;
|
||||
@@ -0,0 +1,19 @@
|
||||
// Copyright (c) 2002 Institute of Transport,
|
||||
// Railway Construction and Operation,
|
||||
// University of Hanover, Germany
|
||||
//
|
||||
// Use, modification and distribution are subject to the
|
||||
// Boost Software License, Version 1.0. (See accompanying file
|
||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include "../include/test_a.h"
|
||||
|
||||
#include <test_libx.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
TestLibX stTestLibX;
|
||||
TestA stTestA;
|
||||
|
||||
stTestLibX.do_something();
|
||||
};
|
||||
Reference in New Issue
Block a user