# Lose Stroika-Config.h support and instead use -DDEFINE=1 on compiler cmd line

## Description

# git commit 2b15e06ee6935eb4710e651b8c3f59a9d2b64c3c
# Moved defines from Stroika-Config.h to commandline (for UNIX ONLY SO FAR)

PROS:

• simpler to have all defines done in one place, and not have some in Stroika-Config.h and some on commandline

CONS:

• when people LINKING against Stroika, slightly easier to screw up and not have consistent define (though this is detectable through CompileTimeFlagChecker_HEADER

• defines now globally set - so compiling compoents that have nothing todo with stroika also see these defines (minor and avoidable by adding a config var ALL_STROIKA_SPECIFIC__CPP_DEFINES and using makefile filter-out).

So could easily go either way. For now - go with makefile approach (switched to for unix).

And if any need to filter out - add the additional config variables to CONFIGRUATION.xml file (etc).

Lewis Pringle

Lewis Pringle

None

Medium
Configure