This work is derived from mankash/cbp2make which is imported/copied from https://sourceforge.net/p/cbp2make.
Licensed by the original author as GNU General Public License version 3.0 (GPLv3)
'''cbp2make''' is a stand-alone build tool that allows you to generate makefile(s) for GNU Make out of Code::Blocks IDE project or workspace file. (See also [http://forums.codeblocks.org/index.php/topic,13675.0.html])
Present derived work fixes original work with support of Code::Blocks macro described on its wiki page.
At the moment of writing, only three macro (in seven forms) are expanded:
- $(TARGET_NAME)
-
$(PROJECT_NAME), $ (PROJECTNAME) -
$(PROJECT_DIR), $ (PROJECTDIR),$(PROJECT_DIRECTORY), $ (PROJECTDIRECTORY)
The macro expansion is applied to the properties:
output
, per-configuration propertyobject_output
, per-configuration property- Compiler include directories, on both per-project and per-configuration levels
Basic test suite is added in the directory "test-set". The "cbp2make.cbp" project's properties working_dir
and parameters
(command-line arguments) are set to convert the worspace file of the test suite.