mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 09:46:02 -04:00
improved biicode support
This commit is contained in:
parent
987f9e465f
commit
0aa4a43ae8
@ -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.
|
||||
|
@ -3,6 +3,8 @@ SQLiteC++
|
||||
|
||||
[](https://travis-ci.org/SRombauts/SQLiteCpp "Travis CI Linux Build Status")
|
||||
[](https://ci.appveyor.com/project/SbastienRombauts/SQLiteCpp "AppVeyor Windows Build status")
|
||||
[](https://www.biicode.com/sqlite/sqlite)
|
||||
|
||||
|
||||
SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.
|
||||
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user