lanterndata / lantern

PostgreSQL vector database extension for building AI applications
https://lantern.dev
GNU Affero General Public License v3.0
790 stars 57 forks source link

Added autogeneration for lanterdb.control file from CMake #53

Closed grubdragon closed 1 year ago

grubdragon commented 1 year ago

Why? Only thing that changes with every release is the LANTERNDB_VERSION number, which already needs to be set in CMakeLists.txt Doing so in the lanterndb.control file manually can be eliminated with this autogeneration added in CmakeLists

Testing Notes:

  1. Run cmake .. from the .\build folder. It should generate the lanterndb.control file in the base directory.

Resolves #30

var77 commented 1 year ago

Looks good to me!

grubdragon commented 1 year ago

@Ngalstyan4 updated the implementation

grubdragon commented 1 year ago

@Ngalstyan4