Skip to content

Compilation changes#1758

Draft
marauder2k7 wants to merge 3 commits into
TorqueGameEngines:developmentfrom
marauder2k9-torque:CompileTime-SpeedImprovements
Draft

Compilation changes#1758
marauder2k7 wants to merge 3 commits into
TorqueGameEngines:developmentfrom
marauder2k9-torque:CompileTime-SpeedImprovements

Conversation

@marauder2k7
Copy link
Copy Markdown
Contributor

Every header file now uses pragma once
Compile flags were being shared across all compile types, whether cmake was automatically changing these for build type or not its still better to set these manually then we can be sure what is going on for each build

Silenced a few warnings that are key to how the code is used, these can be turned on or off, description for each one in the cmakelists.txt file.

This PR could just be the CMakeLists.txt file from the source directory.

Few compile time attempts to speed things up

Swap include guards for pramga once
Change compile options in the cmakeLists for source
generate a pch

small tweaks
fix for linux
precompile might be messing up linux build atm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant