Closed Habush closed 3 years ago
@Habush, I think we want to keep the full path opencog/asmoses/...
even that requires fixing a number of #include
, thus go with option 2. It provides a cleaner folder tree structure, which is especially important for asmoses
as it is more intertwined with opencog that moses
.
In CMakeLists.txt the install path is under
include/opencog/asmoses/comboreduct/combo
. However, there is nocomboreduct
directory in the current project structure. Instead it should be changed tocombo
.Now, if we fix this install path, we will still will run into an error when an external code tries to include the combo library. If we include the header
#include <opencog/asmoses/combo/combo/combo.h>
in an external source code, the compiler will complain because in combo.h, the include paths don't map to a correct path as the project files are installed underopencog/asmoses
notopencog
. We can fix this in two ways:opencog
directory and notasmoses
asmoses
where all the source files reside. Ofcourse, we will also have to update all the header files to reflect the path changeI can send a PR once we agree which option to take.