mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-13 07:01:11 -06:00
Merge branch 'feature/genVersion'
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include "profile/profileedit.h"
|
||||
|
||||
#include <openspace/engine/configuration.h>
|
||||
#include <openspace/openspace.h>
|
||||
#include <ghoul/filesystem/filesystem.h>
|
||||
#include <ghoul/fmt.h>
|
||||
#include <ghoul/logging/logmanager.h>
|
||||
@@ -148,7 +149,15 @@ namespace {
|
||||
std::ofstream outFile;
|
||||
try {
|
||||
outFile.open(path, std::ofstream::out);
|
||||
outFile << sgct::serializeConfig(cluster);
|
||||
sgct::config::GeneratorVersion genEntry = {
|
||||
"OpenSpace",
|
||||
OPENSPACE_VERSION_MAJOR,
|
||||
OPENSPACE_VERSION_MINOR
|
||||
};
|
||||
outFile << sgct::serializeConfig(
|
||||
cluster,
|
||||
genEntry
|
||||
);
|
||||
}
|
||||
catch (const std::ofstream::failure& e) {
|
||||
QMessageBox::critical(
|
||||
|
||||
Submodule apps/OpenSpace/ext/sgct updated: 2b3445eeb8...213e8670ca
Reference in New Issue
Block a user