public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Contribution: Python C Code builder, Simple Build
@ 2022-01-20 16:12 Attila Boczkó
  2022-01-21  2:32 ` Matt Connell
  0 siblings, 1 reply; 4+ messages in thread
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	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-21  8:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-20 16:12 [gentoo-user] Contribution: Python C Code builder, Simple Build Attila Boczkó
2022-01-21  2:32 ` Matt Connell
2022-01-21  4:19   ` Andrew Lowe
2022-01-21  8:50     ` Atharva Amritkar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox