-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Richard Bateman
committed
Jan 11, 2011
1 parent
54e25b8
commit 7b79ade
Showing
8 changed files
with
312 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#/**********************************************************\ | ||
#Original Author: Richard Bateman (taxilian) | ||
# | ||
#Created: Nov 20, 2009 | ||
#License: Dual license model; choose one of two: | ||
# New BSD License | ||
# http://www.opensource.org/licenses/bsd-license.php | ||
# - or - | ||
# GNU Lesser General Public License, version 2.1 | ||
# http://www.gnu.org/licenses/lgpl-2.1.html | ||
# | ||
#Copyright 2009 PacketPass, Inc and the Firebreath development team | ||
#\**********************************************************/ | ||
|
||
# Written to work with cmake 2.6 | ||
cmake_minimum_required (VERSION 2.6) | ||
set (CMAKE_BACKWARDS_COMPATIBILITY 2.6) | ||
|
||
include(${CMAKE_DIR}/common.cmake) | ||
|
||
include_directories ( | ||
${Boost_INCLUDE_DIRS} | ||
${CMAKE_CURRENT_SOURCE_DIR}/src | ||
) | ||
file (GLOB GENERAL_SRC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} | ||
src/*/*.cpp | ||
) | ||
|
||
set(SOURCES | ||
${GENERAL_SRC} | ||
) | ||
|
||
add_library (boost_date_time STATIC ${SOURCES}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#/**********************************************************\ | ||
#Original Author: Richard Bateman (taxilian) | ||
# | ||
#Created: Nov 20, 2009 | ||
#License: Dual license model; choose one of two: | ||
# New BSD License | ||
# http://www.opensource.org/licenses/bsd-license.php | ||
# - or - | ||
# GNU Lesser General Public License, version 2.1 | ||
# http://www.gnu.org/licenses/lgpl-2.1.html | ||
# | ||
#Copyright 2009 PacketPass, Inc and the Firebreath development team | ||
#\**********************************************************/ | ||
|
||
# Written to work with cmake 2.6 | ||
cmake_minimum_required (VERSION 2.6) | ||
set (CMAKE_BACKWARDS_COMPATIBILITY 2.6) | ||
|
||
include(${CMAKE_DIR}/common.cmake) | ||
|
||
if (BOOST_FILESYSTEM_V3) | ||
include_directories ( | ||
${Boost_INCLUDE_DIRS} | ||
${CMAKE_CURRENT_SOURCE_DIR}/v3/src | ||
) | ||
file (GLOB GENERAL_SRC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} | ||
v3/src/*.cpp | ||
) | ||
else() | ||
include_directories ( | ||
${Boost_INCLUDE_DIRS} | ||
${CMAKE_CURRENT_SOURCE_DIR}/v2/src | ||
) | ||
file (GLOB GENERAL_SRC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} | ||
v2/src/*.cpp | ||
) | ||
endif() | ||
|
||
set(SOURCES | ||
${GENERAL_SRC} | ||
) | ||
|
||
add_library (boost_filesystem STATIC ${SOURCES}) | ||
|
||
add_boost_library(system) | ||
export_project_dependencies() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#/**********************************************************\ | ||
#Original Author: Richard Bateman (taxilian) | ||
# | ||
#Created: Nov 20, 2009 | ||
#License: Dual license model; choose one of two: | ||
# New BSD License | ||
# http://www.opensource.org/licenses/bsd-license.php | ||
# - or - | ||
# GNU Lesser General Public License, version 2.1 | ||
# http://www.gnu.org/licenses/lgpl-2.1.html | ||
# | ||
#Copyright 2009 PacketPass, Inc and the Firebreath development team | ||
#\**********************************************************/ | ||
|
||
# Written to work with cmake 2.6 | ||
cmake_minimum_required (VERSION 2.6) | ||
set (CMAKE_BACKWARDS_COMPATIBILITY 2.6) | ||
|
||
include(${CMAKE_DIR}/common.cmake) | ||
|
||
include_directories ( | ||
${Boost_INCLUDE_DIRS} | ||
${CMAKE_CURRENT_SOURCE_DIR}/src | ||
) | ||
file (GLOB GENERAL_SRC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} | ||
src/*.cpp | ||
) | ||
|
||
set(SOURCES | ||
${GENERAL_SRC} | ||
) | ||
|
||
add_library (boost_regex STATIC ${SOURCES}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#/**********************************************************\ | ||
#Original Author: Richard Bateman (taxilian) | ||
# | ||
#Created: Nov 20, 2009 | ||
#License: Dual license model; choose one of two: | ||
# New BSD License | ||
# http://www.opensource.org/licenses/bsd-license.php | ||
# - or - | ||
# GNU Lesser General Public License, version 2.1 | ||
# http://www.gnu.org/licenses/lgpl-2.1.html | ||
# | ||
#Copyright 2009 PacketPass, Inc and the Firebreath development team | ||
#\**********************************************************/ | ||
|
||
# Written to work with cmake 2.6 | ||
cmake_minimum_required (VERSION 2.6) | ||
set (CMAKE_BACKWARDS_COMPATIBILITY 2.6) | ||
|
||
include(${CMAKE_DIR}/common.cmake) | ||
|
||
add_definitions(-DBOOST_THREAD_BUILD_LIB=1) | ||
|
||
include_directories ( | ||
${Boost_INCLUDE_DIRS} | ||
${CMAKE_CURRENT_SOURCE_DIR}/src | ||
) | ||
file (GLOB GENERAL_SRC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} | ||
src/*.cpp | ||
) | ||
|
||
set(SOURCES | ||
${GENERAL_SRC} | ||
) | ||
|
||
add_library (boost_serialization STATIC ${SOURCES}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#/**********************************************************\ | ||
#Original Author: Richard Bateman (taxilian) | ||
# | ||
#Created: Nov 20, 2009 | ||
#License: Dual license model; choose one of two: | ||
# New BSD License | ||
# http://www.opensource.org/licenses/bsd-license.php | ||
# - or - | ||
# GNU Lesser General Public License, version 2.1 | ||
# http://www.gnu.org/licenses/lgpl-2.1.html | ||
# | ||
#Copyright 2009 PacketPass, Inc and the Firebreath development team | ||
#\**********************************************************/ | ||
|
||
# Written to work with cmake 2.6 | ||
cmake_minimum_required (VERSION 2.6) | ||
set (CMAKE_BACKWARDS_COMPATIBILITY 2.6) | ||
|
||
include(${CMAKE_DIR}/common.cmake) | ||
|
||
include_directories ( | ||
${Boost_INCLUDE_DIRS} | ||
${CMAKE_CURRENT_SOURCE_DIR}/src | ||
) | ||
file (GLOB GENERAL_SRC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} | ||
src/*.cpp | ||
) | ||
|
||
set(SOURCES | ||
${GENERAL_SRC} | ||
) | ||
|
||
add_library (boost_signals STATIC ${SOURCES}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#/**********************************************************\ | ||
#Original Author: Richard Bateman (taxilian) | ||
# | ||
#Created: Nov 20, 2009 | ||
#License: Dual license model; choose one of two: | ||
# New BSD License | ||
# http://www.opensource.org/licenses/bsd-license.php | ||
# - or - | ||
# GNU Lesser General Public License, version 2.1 | ||
# http://www.gnu.org/licenses/lgpl-2.1.html | ||
# | ||
#Copyright 2009 PacketPass, Inc and the Firebreath development team | ||
#\**********************************************************/ | ||
|
||
# Written to work with cmake 2.6 | ||
cmake_minimum_required (VERSION 2.6) | ||
set (CMAKE_BACKWARDS_COMPATIBILITY 2.6) | ||
|
||
include(${CMAKE_DIR}/common.cmake) | ||
|
||
include_directories ( | ||
${Boost_INCLUDE_DIRS} | ||
${CMAKE_CURRENT_SOURCE_DIR}/src | ||
) | ||
file (GLOB GENERAL_SRC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} | ||
src/*.cpp | ||
) | ||
|
||
set(SOURCES | ||
${GENERAL_SRC} | ||
) | ||
|
||
add_library (boost_smart_ptr STATIC ${SOURCES}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#/**********************************************************\ | ||
#Original Author: Richard Bateman (taxilian) | ||
# | ||
#Created: Nov 20, 2009 | ||
#License: Dual license model; choose one of two: | ||
# New BSD License | ||
# http://www.opensource.org/licenses/bsd-license.php | ||
# - or - | ||
# GNU Lesser General Public License, version 2.1 | ||
# http://www.gnu.org/licenses/lgpl-2.1.html | ||
# | ||
#Copyright 2009 PacketPass, Inc and the Firebreath development team | ||
#\**********************************************************/ | ||
|
||
# Written to work with cmake 2.6 | ||
cmake_minimum_required (VERSION 2.6) | ||
set (CMAKE_BACKWARDS_COMPATIBILITY 2.6) | ||
|
||
include(${CMAKE_DIR}/common.cmake) | ||
|
||
include_directories ( | ||
${Boost_INCLUDE_DIRS} | ||
${CMAKE_CURRENT_SOURCE_DIR}/src | ||
) | ||
file (GLOB GENERAL_SRC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} | ||
src/*.cpp | ||
) | ||
|
||
set(SOURCES | ||
${GENERAL_SRC} | ||
) | ||
|
||
add_library (boost_system STATIC ${SOURCES}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
#/**********************************************************\ | ||
#Original Author: Richard Bateman (taxilian) | ||
# | ||
#Created: Nov 20, 2009 | ||
#License: Dual license model; choose one of two: | ||
# New BSD License | ||
# http://www.opensource.org/licenses/bsd-license.php | ||
# - or - | ||
# GNU Lesser General Public License, version 2.1 | ||
# http://www.gnu.org/licenses/lgpl-2.1.html | ||
# | ||
#Copyright 2009 PacketPass, Inc and the Firebreath development team | ||
#\**********************************************************/ | ||
|
||
# Written to work with cmake 2.6 | ||
cmake_minimum_required (VERSION 2.6) | ||
set (CMAKE_BACKWARDS_COMPATIBILITY 2.6) | ||
|
||
include(${CMAKE_DIR}/common.cmake) | ||
|
||
add_definitions(-DBOOST_THREAD_BUILD_LIB=1) | ||
|
||
if (WIN32) | ||
set (PLATFORMDIR win32) | ||
else() | ||
set (PLATFORMDIR pthread) | ||
endif() | ||
include_directories ( | ||
${Boost_INCLUDE_DIRS} | ||
${CMAKE_CURRENT_SOURCE_DIR}/src | ||
${CMAKE_CURRENT_SOURCE_DIR}/src/${PLATFORMDIR} | ||
) | ||
|
||
file (GLOB GENERAL_SRC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} | ||
src/*.cpp | ||
) | ||
|
||
file (GLOB WIN32_SRC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} | ||
src/win32/*.cpp | ||
) | ||
|
||
file (GLOB PTHREAD_SRC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} | ||
src/pthread/*.cpp | ||
) | ||
|
||
if (WIN32) | ||
list(APPEND SOURCES | ||
${GENERAL_SRC} | ||
${WIN32_SRC} | ||
) | ||
else() | ||
list(APPEND SOURCES | ||
${GENERAL_SRC} | ||
${PTHREAD_SRC} | ||
) | ||
endif() | ||
|
||
add_library (boost_thread STATIC ${SOURCES}) | ||
|