Commit 5a2d293
committed
Add CMake build system; remove obsolete build configurations
- Add root CMakeLists.txt that builds the FirebirdODBC.dll driver
- Add IscDbc/CMakeLists.txt for the IscDbc static library
- Add cmake/ helper modules:
- FetchFirebirdHeaders.cmake: downloads Firebird 5.0.2 headers from GitHub
- GetVersionFromGit.cmake: extracts version from git tags
- Version.h.in: template for generated version header
- Update tests/CMakeLists.txt to integrate with root CMake project
(uses FetchContent for Google Test instead of find_package)
- Remove 14 obsolete build configurations (keep MsVc2022.win):
Bcc55.win, CC.solaris, Gcc.darwin, Gcc.freeBSD, Gcc.lin, Gcc.solaris,
MinGW_Dev-Cpp.win, MsSDK64.win, MsVc60.win, MsVc70.win, MsVc80.win,
MsVc90.win, VAC.aix, aCC.HP
- Remove shared makefile includes (makefile.environ, makefile.sources)
- Remove root and IscDbc makefile.in (autotools era)
- Remove vendored Firebird headers (FBClient.Headers/)
— now fetched at build time via CMake FetchContent
- Remove vendored ODBC SDK headers (Headers/SQL.H, Headers/SQLEXT.H)
— use system SDK instead
- Move Headers/OdbcUserEvents.h to project root
- Update OdbcConnection.h include path accordingly
- Remove non-functional old test projects: JdbcTest/, Test/, TestInstall/
- Remove tracked build artifacts (.exp files) and MinGW .def files
- Rename OdbcJdbc.dll.manifest to FirebirdODBC.dll.manifest
(matches the reference in OdbcJdbc.rc)
- Update MsVc2022.win/OdbcFb.vcxproj:
- Include path: FBClient.Headers -> build/_deps/firebird_headers-src/src/include
- Header reference: Headers/OdbcUserEvents.h -> OdbcUserEvents.h
(Requires running 'cmake -B build' first to fetch Firebird headers)
- Update .gitignore with CMake build artifact patterns
Build validation:
CMake: cmake -B build -G 'Visual Studio 17 2022' -A x64
cmake --build build --config Release
-> FirebirdODBC.dll (120 exports, matching VS 2022 build)
VS 2022: MSBuild Builds/MsVc2022.win/OdbcFb.sln /p:Configuration=Release /p:Platform=x64
-> FirebirdODBC.dll (120 exports)
Tests: 375 tests, 375 skipped (no database), 0 failures1 parent 4e00280 commit 5a2d293
178 files changed
Lines changed: 496 additions & 62460 deletions
File tree
- Builds
- Bcc55.win
- CC.solaris
- Gcc.darwin
- Gcc.freeBSD
- Gcc.lin
- Gcc.solaris
- MinGW_Dev-Cpp.win
- MsSDK64.win
- MsVc2022.win
- MsVc60.win
- MsVc70.win
- MsVc80.win
- MsVc90.win
- VAC.aix
- aCC.HP
- FBClient.Headers
- firebird
- impl
- boost/preprocessor
- arithmetic
- config
- control
- debug
- detail
- dmc
- facilities
- logical
- repetition
- detail
- dmc
- edg
- msvc
- seq
- tuple
- msg
- Headers
- IscDbc
- JdbcTest
- OdbcJdbcSetup
- TestInstall
- Test
- cmake
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments