Description
The current make-based build system works fine enough, but it leaves the directory structure in somewhat of a strange state. The source files for each library and executable has if in a in src/<name>/src, e.g. src/eqpt/src, with a Makefile above that directory. This was necessary in order to easily generate compilation targets, but is still somewhat unsavory to... well... me.
Solution
By switching to CMake we can move the source files up one directory to live next to a CMakeLists.txt file. That will make the directory tree a bit more shallow. CMake will then be able to manage the compilation targets without clashes between different subcomponents. This will also make it easier for other projects which use CMake and should depend on EQ3/6 to manage that dependency.
Description
The current
make-based build system works fine enough, but it leaves the directory structure in somewhat of a strange state. The source files for each library and executable has if in a insrc/<name>/src, e.g.src/eqpt/src, with a Makefile above that directory. This was necessary in order to easily generate compilation targets, but is still somewhat unsavory to... well... me.Solution
By switching to CMake we can move the source files up one directory to live next to a
CMakeLists.txtfile. That will make the directory tree a bit more shallow. CMake will then be able to manage the compilation targets without clashes between different subcomponents. This will also make it easier for other projects which use CMake and should depend on EQ3/6 to manage that dependency.