* [gentoo-user] Contribution: Python C Code builder, Simple Build
@ 2022-01-20 16:12 99% Attila Boczkó
0 siblings, 0 replies; 1+ results
From: Attila Boczkó @ 2022-01-20 16:12 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 726 bytes --]
Dear Gentoo Users Developers!
I would like to send a little python program that runs GCC to compile the C
code. The C Code can put multiple sub directories in the main SRC
directory. The python code uses os.walk method to find all C Code files and
pass it to GCC.
The pkg-config program used to find out how to name the library to pass it
to the GCC compiler.
The program builds only one binary with the one build file.
The build file have to be the following configuration options:
[ConfigSection]
ProjectName="MariaDB-C-Connect-2"
LinkLibrary=["libmariadb"]
SourceDirectory="SRC_DIR_MDB_1"
BuildBinaryName="execute-MariaDB-C-1"
===
I think this is so minimal. :)
See the attached file for the program.
Sincerely xbx.
[-- Attachment #1.2: Type: text/html, Size: 1022 bytes --]
[-- Attachment #2: PyCCodeBuilder_SimpleBuild.tar.gz --]
[-- Type: application/gzip, Size: 482246 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-01-20 16:12 99% [gentoo-user] Contribution: Python C Code builder, Simple Build Attila Boczkó
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox