From: Raimar S. <rai...@ui...> - 2013-11-04 03:13:09
|
Hi András, I have created two new repositories, CustomElementsExample and CustomScriptsExample. They contain very simple and almost self-explanatory CMakeLists.txt which show how to create custom projects for elements and scripts. Additionally I added an experimental feature to the build process, the cmake user registry. This is a quite cool feature of cmake, let's see if it proves useful. Wen building CPPQEDcore, CPPQEDelements or any of the custom elements project, the library locations are recorded in ~/.cmake, and projects depending on those libraries can find them without user intervention. The only problem I see is that this might interfere with installed versions of the library... This means you can now (after updating all the submodules) just go ahead and build everything, either monolithic or modular, and don't have to care about CMAKE_PREFIX_PATH or <something>_DIR variables. Everything should be found automatically. This also holds for the custom projects (elements and scripts). Best regards Raimar |