Bug 780 - Platform specific headers and library inclusion
Summary: Platform specific headers and library inclusion
Status: ASSIGNED
Alias: None
Product: BpmCount
Classification: Unclassified
Component: Packaging (show other bugs)
Version: 0.1
Hardware: PC Linux
: Future normal
Assignee: greg elliott
URL:
: 778 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-31 18:46 CEST by Werner Van Belle
Modified: 2008-08-31 20:40 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 3 greg elliott 2008-08-31 20:40:34 CEST
*** Bug 778 has been marked as a duplicate of this bug. ***
Comment 2 Werner Van Belle 2008-08-31 20:17:04 CEST
That is how I would do it as well, so we could start with various defines files if interested.
Comment 1 greg elliott 2008-08-31 20:15:49 CEST
(In reply to comment #0)
> Hello,
> 
> Do you have any plans on how to structure platform specific includes and
> headers. The source fole os-specific-headers.h is already a very good start,
> but certain compile options are so platform dependend that they belong in the
> makefile. BpmDj relied on the concept of defines files. A file which must be
> available for the specific platform and wich would be included in the makefile.
> I personally believe this is the easiest way of solving platform specific build
> options, but feel free to suggest any other possible option.
> 

my opinion is that the os-specific-headers.h file is fine.  it's working, is a single file that works for all 3 major operating systems, and is clean.

for me, the only things that should go in a separate defines files should be locations of libraries and headers and compilers.

Description Werner Van Belle 2008-08-31 18:46:29 CEST
Hello,

Do you have any plans on how to structure platform specific includes and headers. The source fole os-specific-headers.h is already a very good start, but certain compile options are so platform dependend that they belong in the makefile. BpmDj relied on the concept of defines files. A file which must be available for the specific platform and wich would be included in the makefile. I personally believe this is the easiest way of solving platform specific build options, but feel free to suggest any other possible option.