mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-05 10:16:01 -04:00
Fix #95: rewrite old instruction about adding SQLiteCpp as a CMake subdirectory
This commit is contained in:
parent
1470735e94
commit
9d1ea82313
@ -91,8 +91,8 @@ To use this wrapper, you need to add the 10 SQLiteC++ source files from the src/
|
||||
in your project code base, and compile/link against the sqlite library.
|
||||
|
||||
The easiest way to do this is to add the wrapper as a library.
|
||||
The proper "CMakeLists.txt" file defining the static library is provided in the src/ subdirectory,
|
||||
so you simply have to add_directory(SQLiteCpp/src) to you main CMakeLists.txt
|
||||
The "CMakeLists.txt" file defining the static library is provided in the root directory,
|
||||
so you simply have to add_subdirectory(SQLiteCpp) to you main CMakeLists.txt
|
||||
and link to the "SQLiteCpp" wrapper library.
|
||||
Thus this SQLiteCpp repository can directly be used as a Git submoldule.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user