summaryrefslogtreecommitdiff
path: root/src/conf
AgeCommit message (Collapse)AuthorFilesLines
2024-06-05Generate {install,version}.hpp through attoconfFreeyorp1-2/+2
Or more specifically, in the attoconf buildchain. attoconf itself directly generates src/conf/install.hpp alongside Makefile, but version inforation is only available later. To generate version.hpp, I extended version.mk slightly to provide the recipe. It's not anywhere near as generic as real.make tends to be, but with any luck we'll soon be doing all builds through cmake going forward. The template for install.hpp has been changed to use variables actually provided by attoconf. PACKAGE{SYSCONF,LOCALSTATE}DIR are actually only defined in real.make, and then only in terms of SYSCONFDIR and LOCALSTATEDIR, adding `/tmwa`. It's simpler to just use the attoconf variable and adjust the template, which conveniently also simplifies the construction in CMakeLists.txt, too.
2024-06-05cmake: Fix out of tree buildFreeyorp2-70/+0
Also remove {install,version}.hpp from source control, so they're actually generated. There may be a better way to handle this, but I'll just leave a note as a TODO for now.
2024-06-05CMake: Generate the install.hpp and version.hpp filesThorbjørn Lindeijer2-0/+68
The values of defines in these files should be the same as those set from version.mk / Makefile.in.
2014-07-17Add dir annoyancesBen Longbons1-0/+30
2014-06-27This is more reliableBen Longbons1-14/+11
2014-06-26Stick everything in a namespaceBen Longbons1-0/+5
2014-04-22Make travis happyBen Longbons1-1/+1
2014-04-09Add all the missing copyright headersBen Longbons1-0/+20
2014-04-09Add @source command to help modified verions satisfy the AGPLBen Longbons1-2/+5
2014-03-16Clean up header organizationBen Longbons1-3/+3
2013-12-06Add basic source formatting toolsBen Longbons1-8/+8
2013-09-30Automatically generate version informationBen Longbons1-0/+15