-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RTC include directory detection. (#387)
* RTC will now attempt to auto find the include dir if variable is not set. * CMake configure step auto generates a version file which is used for ensuring header version matches library build version. (Might wish to make the version file generation behaviour different in future if this ends up too aggressive) Partially addresses #253 Co-authored-by: Peter Heywood <peethwd@gmail.com>
- Loading branch information
Showing
6 changed files
with
150 additions
and
7 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
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 @@ | ||
/**${SHORT_HASH} | ||
* This file is automatically generated at CMake configure time, do not modify | ||
*/ | ||
#ifndef INCLUDE_FLAMEGPU_VERSION_H_ | ||
#define INCLUDE_FLAMEGPU_VERSION_H_ | ||
|
||
#include <string> | ||
|
||
namespace flamegpu_internal { | ||
std::string getCommitHash() { | ||
return "${SHORT_HASH}"; | ||
} | ||
} // namespace flamegpu_internal | ||
|
||
#endif // INCLUDE_FLAMEGPU_VERSION_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