Add "core" sources.
Add global CMAKE variables.