improved biicode support

This commit is contained in:
mariadeanton 2015-03-24 17:05:01 +01:00
parent 987f9e465f
commit 0aa4a43ae8
3 changed files with 11 additions and 13 deletions

View File

@ -1,19 +1,17 @@
if (BIICODE)
include(${CMAKE_HOME_DIRECTORY}/biicode.cmake)
# Initializes block variables
INIT_BIICODE_BLOCK()
# biicode doesn't process files bigger than 5Mb
list(APPEND BII_LIB_SRC sqlite3/sqlite3.c)
# Include base block dir
ADD_BIICODE_TARGETS()
# Link target with dl for linux
IF (UNIX)
IF(NOT APPLE)
TARGET_LINK_LIBRARIES(${BII_BLOCK_TARGET} INTERFACE dl)
ENDIF()
ENDIF()
# Link target with dl for linux
if (UNIX)
TARGET_LINK_LIBRARIES(${BII_BLOCK_TARGET} INTERFACE pthread)
if(NOT APPLE)
TARGET_LINK_LIBRARIES(${BII_BLOCK_TARGET} INTERFACE dl)
endif()
endif()
else (BIICODE)
# Main CMake file for compiling the library itself, examples and tests.

View File

@ -3,6 +3,8 @@ SQLiteC++
[![Travis CI Linux Build Status](https://travis-ci.org/SRombauts/SQLiteCpp.svg)](https://travis-ci.org/SRombauts/SQLiteCpp "Travis CI Linux Build Status")
[![AppVeyor Windows Build status](https://ci.appveyor.com/api/projects/status/github/SRombauts/SQLiteCpp?svg=true)](https://ci.appveyor.com/project/SbastienRombauts/SQLiteCpp "AppVeyor Windows Build status")
[![Build Status](https://webapi.biicode.com/v1/badges/sqlite/sqlite/sqlite/master)](https://www.biicode.com/sqlite/sqlite)
SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.

View File

@ -20,7 +20,6 @@
# Manual adjust file implicit dependencies, add (+), remove (-), or overwrite (=)
include/SQLiteCpp/Assertion.h - tests/Database_test.cpp
include/SQLiteCpp/Assertion.h - examples/example1/main.cpp
include/SQLiteCpp/Assertion.h - examples/example1/biimain.cpp
[mains]
# Manual adjust of files that define an executable
@ -42,4 +41,3 @@
# By default they are copied to bin/user/block/... which should be taken into account
# when loading from disk such data
examples/example1/main.cpp + example.db3 logo.png
examples/example1/biimain.cpp + example.db3 logo.png