-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
?
Macros.sh
: more close to make
protocols,
plus comment fixes, plus improve codeflow. `make` protocols: ?`Macros.sh`: -`SUSUWU_BUILD_SOURCES()`: split into: +`SUSUWU_PROCESS_INCLUDES()`: `:%s/${CXX_SOURCE_PATH}Class*.hxx ${CXX_SOURCE_PATH}Macros.hxx/$@/`, plus comment howto use. +`SUSUWU_BUILD_SOURCES()`, plus comment howoto use. -`SUSUWU_SETUP_CXX_PROCESS_MINGW()`: split into; +`SUSUWU_PROCESS_MINGW()` (plus comment howto use), +`SUSUWU_SETUP_CXX()`. -`SUSUWU_SETUP_OUTPUT_DIRS()`: split into; +`SUSUWU_SETUP_OUTPUT()`: `:%s/"a/"${1}/`, +`SUSUWU_SETUP_BINDIR()`: `:%s/"\.\/bin\/"/${1}/`, +`SUSUWU_SETUP_OBJDIR()`: `:%s/"\.\/obj\/"/${1}/`, plus comment howto use. ?`Macros.sh`, ?`build.sh`: -`SUSUWU_BUILD_SOURCES`: split into; +`SUSUWU_PROCESS_INCLUDES ${CXX_SOURCE_PATH}Class*.hxx ${CXX_SOURCE_PATH}Macros.hxx` +`SUSUWU_BUILD_SOURCES`` -`SUSUWU_SETUP_CXX_PROCESS_MINGW`: split into; +`SUSUWU_PROCESS_MINGW $?` (plus comment howto use), +`SUSUWU_SETUP_CXX`. -`SUSUWU_SETUP_OUTPUT_DIRS`: split into; +`SUSUWU_SETUP_OUTPUT "a"`, +`SUSUWU_SETUP_BINDIR "./bin/"`, +`SUSUWU_SETUP_OBJDIR "./obj/"`. Is followup to: d025402 (...TODO: ... Remove our project-specific (local) values from the new `Macros.sh` functions, have new functions more close to `make` protocols, have `build.sh` call those functions with our project-specific (local) values.) Comment fixes: ?`Macros.sh`: ?`SUSUWU_AFFIX_DOTSLASH()`: Usage example is now `BINDIR` (since `./` is used to execute.) ?`SUSUWU_SETUP_CXX()`, ?`SUSUWU_SETUP_BUILD_FLAGS()`, ?`SUSUWU_PROCESS_RELEASE_DEBUG()`, ?`SUSUWU_PROCESS_CLEAN_REBUILD()`: comment how to use. ?`build.sh`: ?`SUSUWU_PROCESS_MINGW`, ?`SUSUWU_PROCESS_RELEASE_DEBUG`, ?`SUSUWU_PROCESS_CLEAN_REBUILD`: comment how to use. ?`README.md`: ?`Special flags`: howto use. Improved codeflow: ?`build.sh`: -`SUSUWU_REBUILD_CTAGS()`, +`SUSUWU_BUILD_CTAGS()`. +`CXXFLAGS_SPECIAL`: For `README.md` flags. ?`CXXFLAGS`: Now includes `CXXFLAGS_SPECIAL`. Replace duplicate code with `SUSUWU_SETUP_BUILD_FLAGS`. ?`Macros.sh`: +`SUSUWU_BUILD_CTAGS`, plus comment howto use. ?`SUSUWU_CLEAN_OUTPUT()`: Remove all build targets (as `make clean` does). Comment reason `-f` is omitted. ?`SUSUWU_INCLUDE_SOURCES()`: typo fix: forgot to escape the '`' around `#include`. ?`SUSUWU_BUILD_SOURCES()`: Replace mixed conditional formats with simple if block. ?`SUSUWU_BUILD_SOURCES()`: Output `LD` error codes. Is followup to: d025402 (Move generic code from ?`build.sh` to ?`Macros.sh). Has to do with issue #18 (support more tools). ?`posts/VirusAnalysis.md`: include f2cf644 (`--mingw`/`SUSUWU_WIN32` regression fix, typos fix) (that commit forgot to update `posts/VirusAnalysis.md`:`classSysHexStrTests`)
- Loading branch information
1 parent
d025402
commit 3ee82e4
Showing
4 changed files
with
65 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters