# You can optionally define a minimum version in this call Here's an example of using this in your CMakeLists.txt This file lets you link against the SQLiteCpp library for use in your Cmake project. If you installed this package to your system, a `SQLiteCppConfig.cmake` file will be generated & installed to your system. # Using SQLiteCpp on a system-wide installation If the version is out of date, please () on the vcpkg repository. The SQLiteCpp port in vcpkg is kept up to date by Microsoft team members and community contributors. So you simply have to add_subdirectory(SQLiteCpp) to you main CMakeLists.txtĪnd link to the “SQLiteCpp” wrapper library. The “CMakeLists.txt” file defining the static library is provided in the root directory, The easiest way to do this is to add the wrapper as a library. In your project code base, and compile/link against the sqlite library. To use this wrapper, you need to add the SQLiteC++ source files from the src/ directory With the SQLITE_ENABLE_COLUMN_METADATA macro defined (see ). Or by adding its source file in your project code base (source code provided in src/sqlite3 for Windows),
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |