-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add unity builds, but don't force push main * not working precompiled headers * add precompiled headers * add disclaimer for dummies * reenable ccache
- Loading branch information
1 parent
23b193c
commit 274182e
Showing
11 changed files
with
122 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#ifndef INCLUDE_STDAFX_H_ | ||
#define INCLUDE_STDAFX_H_ | ||
|
||
// Commonly used header files to be precompiled in order to speed up compilation | ||
// In reality this doesn't seem to be doing much in speeding it up... | ||
// Leaving the infrastructure here in case someone is able to figure out a way to | ||
// make this actually speed up compilation. | ||
|
||
#include <vector> | ||
#include <unordered_map> | ||
#include <optional> | ||
#include <memory> | ||
#include <string> | ||
|
||
#endif // INCLUDE_STDAFX_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* Try and remove this. Just try it, dummy. | ||
* | ||
* Ok, but seriously. DON'T DELETE THIS FILE. You might think, "there's no fucking way | ||
* this file is actually doing anything." And if you were to remove this file and then | ||
* remove the reference to it in src/CMakeLists.txt and recompile, it would look like you | ||
* were correct! It will be fine! | ||
* | ||
* But if you do do this--and I would encourage you to try!--see what happens if you reclone | ||
* the repo or rm -rf your build directory. You will get some unholy error message complaining | ||
* about some nonexistent file deep in the bowels of the build directory. | ||
* Then you'll come crying back to your daddy and begging for a git restore src/dummy.c, | ||
* like the dummy you are. | ||
* | ||
* Don't be a dummy, and don't delete this file. | ||
* | ||
* (for more information, see the stackoverflow post linked in src/CMakeLists.txt) | ||
*/ | ||
|
||
int dummy() { | ||
int i = 0; | ||
++i; | ||
--i; | ||
i = 12; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters