Skip to content

Commit 5a2d293

Browse files
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 failures
1 parent 4e00280 commit 5a2d293

178 files changed

Lines changed: 496 additions & 62460 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,32 @@ Install/Win32/install_image/
1111
build_*.log
1212
OdbcJdbcSetup_*.iss
1313
.vs/*
14+
15+
# CMake
16+
build/
17+
build-*/
18+
Build/
19+
out/
20+
cmake-build-*/
21+
CMakeCache.txt
22+
CMakeFiles/
23+
cmake_install.cmake
24+
CTestTestfile.cmake
25+
_deps/
26+
install_manifest.txt
27+
Testing/
28+
tests/Testing/
29+
30+
# Build artifacts
31+
*.o
32+
*.obj
33+
*.dll
34+
*.lib
35+
*.exe
36+
*.pdb
37+
*.ilk
38+
*.exp
39+
40+
# IDE
41+
.idea/
42+
.vscode/

Builds/Bcc55.win/HowToCompileGuide-BCC55.txt

Lines changed: 0 additions & 109 deletions
This file was deleted.

Builds/Bcc55.win/build.bat

Lines changed: 0 additions & 15 deletions
This file was deleted.

Builds/Bcc55.win/build98.bat

Lines changed: 0 additions & 1 deletion
This file was deleted.

Builds/Bcc55.win/buildNT.bat

Lines changed: 0 additions & 1 deletion
This file was deleted.

Builds/Bcc55.win/makefile.bcc55

Lines changed: 0 additions & 102 deletions
This file was deleted.

Builds/CC.solaris/makefile.solaris

Lines changed: 0 additions & 113 deletions
This file was deleted.

Builds/Gcc.darwin/lipo.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)