An object-relational mapping tool for the C++ programming language
- CMake 3.29 or higher
- C++ compiler with
C++23
support (Clang >= 18, GCC >= 14) - Ninja
- LibTooling (to extract metadata from C++ code)
Optional:
- unixodbc (for generic ODBC client)
- libsqlite3 (for SQLite3 client)
- libpq (for PostgreSql client)
- mysqlclient (for MySQL client)
To build Morpheus, go to the project's root directory and execute the following commands:
cmake -G Ninja -DCMAKE_CXX_FLAGS="-std=c++23" -S . -B build/debug
cmake --build build/debug
Name | Description | Default | Since |
---|---|---|---|
MORPHEUS_WITH_POSTGRESQL_CLIENT | Creates a build target for the PostgreSql client | OFF | 0.1.0 |
MORPHEUS_WITH_SQLITE_CLIENT | Creates a build target for the SQLite3 client | OFF | 0.1.0 |
MORPHEUS_WITH_ODBC_CLIENT | Creates a build target for generic ODBC client | OFF | 0.1.0 |
MORPHEUS_WITH_MYSQL_CLIENT | Creates a build target for the MySQL client | OFF | 0.1.0 |
- FindMySql - CMake module to find the MySQL installation
Taken from: https://github.com/mysql/mysql-connector-odbc/blob/trunk/cmake/FindMySQL.cmake
Oleg E. Vorobiov [email protected]
This project is distributed under the MIT License. See LICENSE for more information.