diff --git a/cesyms/cesyms_libman.coedit b/cesyms/cesyms_libman.coedit new file mode 100644 index 00000000..cb42f221 --- /dev/null +++ b/cesyms/cesyms_libman.coedit @@ -0,0 +1,24 @@ +object CurrentProject: TCEProject + OptionsCollection = < + item + name = 'release' + outputOptions.inlining = True + outputOptions.boundsCheck = offAlways + outputOptions.optimizations = True + outputOptions.release = True + pathsOptions.outputFilename = '..\lazproj\cesyms' + preBuildProcess.options = [] + preBuildProcess.showWindow = swoNone + postBuildProcess.options = [] + postBuildProcess.showWindow = swoNone + runOptions.options = [] + runOptions.showWindow = swoNone + end> + Sources.Strings = ( + 'cesyms.d' + ) + ConfigurationIndex = 0 + LibraryAliases.Strings = ( + 'libdparse' + ) +end diff --git a/cesyms/cesyms.coedit b/cesyms/cesyms_submodule.coedit similarity index 93% rename from cesyms/cesyms.coedit rename to cesyms/cesyms_submodule.coedit index 758f14c5..418d0c2e 100644 --- a/cesyms/cesyms.coedit +++ b/cesyms/cesyms_submodule.coedit @@ -21,7 +21,4 @@ object CurrentProject: TCEProject 'cesyms.d' ) ConfigurationIndex = 0 - LibraryAliases.Strings = ( - 'libdparse' - ) end diff --git a/cesyms/readme.md b/cesyms/readme.md index d1241a7c..4f919708 100644 --- a/cesyms/readme.md +++ b/cesyms/readme.md @@ -7,7 +7,10 @@ It's written in D using Coedit. To build it, either [libdparse](https://github.com/Hackerpilot/libdparse) must be setup in the [libman](https://github.com/BBasile/Coedit/wiki#library-manager-widget) as described in this [tutorial](https://github.com/BBasile/Coedit/wiki#lets-build-a-static-library), -or *libdparse* submodule must be cloned with Coedit repository (`git submodule init` or `update`) +or *libdparse* submodule must be cloned with Coedit repository (`git submodule init` or `update`). + +- `cesyms_submodule.coedit`: coedit project based on *libdparse* as a submodule. +- `cesyms_libman.coedit`: coedit project based on *libdparse* as a *libman* entry. This tool is mandatory to enable the new _symbol list widget_ (formerly called _static explorer_) It replaces DMD JSON output to list the declarations within a module. \ No newline at end of file diff --git a/cetodo/cetodo_libman.coedit b/cetodo/cetodo_libman.coedit new file mode 100644 index 00000000..0e0b8358 --- /dev/null +++ b/cetodo/cetodo_libman.coedit @@ -0,0 +1,39 @@ +object CurrentProject: TCEProject + OptionsCollection = < + item + name = 'testwith_CPFS' + messagesOptions.additionalWarnings = True + outputOptions.boundsCheck = onAlways + outputOptions.unittest = True + pathsOptions.outputFilename = '..\lazproj\cetodo' + preBuildProcess.options = [] + preBuildProcess.showWindow = swoNone + postBuildProcess.options = [] + postBuildProcess.showWindow = swoNone + runOptions.options = [poUsePipes, poStderrToOutPut] + runOptions.parameters.Strings = ( + '' + ) + runOptions.showWindow = swoHIDE + end + item + name = 'release' + outputOptions.boundsCheck = offAlways + outputOptions.optimizations = True + outputOptions.release = True + pathsOptions.outputFilename = '..\lazproj\cetodo' + preBuildProcess.options = [] + preBuildProcess.showWindow = swoNone + postBuildProcess.options = [] + postBuildProcess.showWindow = swoNone + runOptions.options = [] + runOptions.showWindow = swoNone + end> + Sources.Strings = ( + 'cetodo.d' + ) + ConfigurationIndex = 1 + LibraryAliases.Strings = ( + 'libdparse' + ) +end diff --git a/cetodo/cetodo.coedit b/cetodo/cetodo_submodule.coedit similarity index 93% rename from cetodo/cetodo.coedit rename to cetodo/cetodo_submodule.coedit index 910d2139..a266752c 100644 --- a/cetodo/cetodo.coedit +++ b/cetodo/cetodo_submodule.coedit @@ -6,6 +6,9 @@ object CurrentProject: TCEProject outputOptions.boundsCheck = onAlways outputOptions.unittest = True pathsOptions.outputFilename = '..\lazproj\cetodo' + pathsOptions.extraSources.Strings = ( + '..\libdparse\src\*' + ) preBuildProcess.options = [] preBuildProcess.showWindow = swoNone postBuildProcess.options = [] @@ -36,7 +39,4 @@ object CurrentProject: TCEProject 'cetodo.d' ) ConfigurationIndex = 1 - LibraryAliases.Strings = ( - 'libdparse' - ) end diff --git a/cetodo/readme.md b/cetodo/readme.md index 60cedc7d..42983d74 100644 --- a/cetodo/readme.md +++ b/cetodo/readme.md @@ -4,9 +4,12 @@ ceTodo Tool designed to analyze the _TODO comments_ in D source files. It's written in D using Coedit. -To build it etheir [libdparse](https://github.com/Hackerpilot/libdparse) +To build it, either [libdparse](https://github.com/Hackerpilot/libdparse) must be setup in the [libman](https://github.com/BBasile/Coedit/wiki#library-manager-widget) -as described in this [tutorial](https://github.com/BBasile/Coedit/wiki#lets-build-a-static-library) or +as described in this [tutorial](https://github.com/BBasile/Coedit/wiki#lets-build-a-static-library), or *libdparse* submodule must be cloned with Coedit repository (`git submodule init` or `update`). +- `cetodo_submodule.coedit`: coedit project based on *libdparse* as a submodule. +- `cetodo_libman.coedit`: coedit project based on *libdparse* as a *libman* entry. + This tool is mandatory to enable the *todo list widget*. \ No newline at end of file