Skip to content

Commit

Permalink
Re-added accidently removed files
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Bateman committed Jan 11, 2011
1 parent 54e25b8 commit 7b79ade
Show file tree
Hide file tree
Showing 8 changed files with 312 additions and 0 deletions.
34 changes: 34 additions & 0 deletions libs/date_time/CMakeLists.txt
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})

47 changes: 47 additions & 0 deletions libs/filesystem/CMakeLists.txt
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()

34 changes: 34 additions & 0 deletions libs/regex/CMakeLists.txt
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})

36 changes: 36 additions & 0 deletions libs/serialization/CMakeLists.txt
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})

34 changes: 34 additions & 0 deletions libs/signals/CMakeLists.txt
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})

34 changes: 34 additions & 0 deletions libs/smart_ptr/CMakeLists.txt
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})

34 changes: 34 additions & 0 deletions libs/system/CMakeLists.txt
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})

59 changes: 59 additions & 0 deletions libs/thread/CMakeLists.txt
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})

0 comments on commit 7b79ade

Please sign in to comment.