Permalink
Browse files

Removing cpp files.

  • Loading branch information...
1 parent 4eacddb commit 05d93f34237d8cb118ed380940f68e6a1694ee76 @tmcw tmcw committed Mar 8, 2011
Showing with 0 additions and 126,599 deletions.
  1. +0 −25 CMakeLists.txt
  2. +0 −56 cmake/FindSqlite3.cmake
  3. +0 −119,636 include/sqlite3.c
  4. +0 −186 include/sqlite3.def
  5. +0 −5,963 include/sqlite3.h
  6. +0 −378 include/sqlite3ext.h
  7. +0 −158 include/sqlite_types.hpp
  8. +0 −197 mbutil.cpp
View
@@ -1,25 +0,0 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
-
-PROJECT(mbutil)
-
-ADD_DEFINITIONS(-g -O2 -Wall -W -Werror -lsqlite3)
-SET(CMAKE_EXE_LINKER_FLAGS "-undefined dynamic_lookup")
-ADD_EXECUTABLE(mbutil mbutil.cpp)
-
-FIND_PACKAGE(Boost REQUIRED COMPONENTS system program_options filesystem regex)
-FIND_PACKAGE(Sqlite3 REQUIRED)
-
-link_directories(
- ${Boost_LIBRARY_DIRS}
- ${SQLITE_LIBRARIES}
- )
-include_directories(
- ${Boost_INCLUDE_DIRS}
- include)
-
-target_link_libraries (
- mbutil
- ${SQLITE_LIBRARIES}
- ${Boost_LIBRARIES}
- )
View
@@ -1,56 +0,0 @@
-# - find Sqlite 3
-# SQLITE3_INCLUDE_DIR - Where to find Sqlite 3 header files (directory)
-# SQLITE3_LIBRARIES - Sqlite 3 libraries
-# SQLITE3_LIBRARY_RELEASE - Where the release library is
-# SQLITE3_LIBRARY_DEBUG - Where the debug library is
-# SQLITE3_FOUND - Set to TRUE if we found everything (library, includes and executable)
-
-# Copyright (c) 2010 Pau Garcia i Quiles, <pgquiles@elpauer.org>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-#
-# Generated by CModuler, a CMake Module Generator - http://gitorious.org/cmoduler
-
-IF( SQLITE3_INCLUDE_DIR AND SQLITE3_LIBRARY_RELEASE AND SQLITE3_LIBRARY_DEBUG )
- SET(SQLITE3_FIND_QUIETLY TRUE)
-ENDIF( SQLITE3_INCLUDE_DIR AND SQLITE3_LIBRARY_RELEASE AND SQLITE3_LIBRARY_DEBUG )
-
-FIND_PATH( SQLITE3_INCLUDE_DIR sqlite3.h )
-
-FIND_LIBRARY(SQLITE3_LIBRARY_RELEASE NAMES sqlite3 )
-
-FIND_LIBRARY(SQLITE3_LIBRARY_DEBUG NAMES sqlite3 sqlite3d HINTS /usr/lib/debug/usr/lib/ )
-
-IF( SQLITE3_LIBRARY_RELEASE OR SQLITE3_LIBRARY_DEBUG AND SQLITE3_INCLUDE_DIR )
- SET( SQLITE3_FOUND TRUE )
-ENDIF( SQLITE3_LIBRARY_RELEASE OR SQLITE3_LIBRARY_DEBUG AND SQLITE3_INCLUDE_DIR )
-
-IF( SQLITE3_LIBRARY_DEBUG AND SQLITE3_LIBRARY_RELEASE )
- # if the generator supports configuration types then set
- # optimized and debug libraries, or if the CMAKE_BUILD_TYPE has a value
- IF( CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE )
- SET( SQLITE3_LIBRARIES optimized ${SQLITE3_LIBRARY_RELEASE} debug ${SQLITE3_LIBRARY_DEBUG} )
- ELSE( CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE )
- # if there are no configuration types and CMAKE_BUILD_TYPE has no value
- # then just use the release libraries
- SET( SQLITE3_LIBRARIES ${SQLITE3_LIBRARY_RELEASE} )
- ENDIF( CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE )
-ELSEIF( SQLITE3_LIBRARY_RELEASE )
- SET( SQLITE3_LIBRARIES ${SQLITE3_LIBRARY_RELEASE} )
-ELSE( SQLITE3_LIBRARY_DEBUG AND SQLITE3_LIBRARY_RELEASE )
- SET( SQLITE3_LIBRARIES ${SQLITE3_LIBRARY_DEBUG} )
-ENDIF( SQLITE3_LIBRARY_DEBUG AND SQLITE3_LIBRARY_RELEASE )
-
-IF( SQLITE3_FOUND )
- IF( NOT SQLITE3_FIND_QUIETLY )
- MESSAGE( STATUS "Found Sqlite3 header file in ${SQLITE3_INCLUDE_DIR}")
- MESSAGE( STATUS "Found Sqlite3 libraries: ${SQLITE3_LIBRARIES}")
- ENDIF( NOT SQLITE3_FIND_QUIETLY )
-ELSE(SQLITE3_FOUND)
- IF( SQLITE3_FIND_REQUIRED)
- MESSAGE( FATAL_ERROR "Could not find Sqlite3" )
- ELSE( SQLITE3_FIND_REQUIRED)
- MESSAGE( STATUS "Optional package Sqlite3 was not found" )
- ENDIF( SQLITE3_FIND_REQUIRED)
-ENDIF(SQLITE3_FOUND)
Oops, something went wrong.

0 comments on commit 05d93f3

Please sign in to comment.