diff --git a/CMakeLists.txt b/CMakeLists.txt index 8590a16..2117442 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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. diff --git a/README.md b/README.md index 7de3773..0f2c1f2 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/biicode.conf b/biicode.conf index 575d4a2..5d6ee9c 100644 --- a/biicode.conf +++ b/biicode.conf @@ -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 \ No newline at end of file