[Build] Use CMAKE_BINARY_DIR for output paths and version.h include

version.h is now found via CMAKE_BINARY_DIR on the include path instead
of a hardcoded "build/version.h" path. This allows out-of-tree and
multi-config builds to each generate and find their own version header
without colliding.
This commit is contained in:
Herman S.
2026-03-21 00:29:56 +09:00
parent 949d4c31fb
commit 1e8f1837cf
5 changed files with 10 additions and 11 deletions

View File

@@ -14,7 +14,7 @@
#include "third_party/snappy/snappy-sinksource.h"
#include "third_party/snappy/snappy.h"
#include "build/version.h"
#include "version.h"
#include "xenia/base/assert.h"
#include "xenia/base/filesystem.h"
#include "xenia/base/logging.h"