create BMap project and copy-paste previous mesh convertion code

This commit is contained in:
yyc12345 committed 2023-09-21 13:47:30 +08:00
1 parent f07ff1f246
commit 5671d7d7e6
12 files changed
+595 -11

No files matched your search

+1 -3
View File
@@ -418,9 +418,7 @@ namespace LibCmo::CK2 {
}
auto operator<=>(const CKGUID& rhs) const {
auto cmp = this->d1 <=> rhs.d1;
if (cmp != 0)
return cmp;
if (auto cmp = this->d1 <=> rhs.d1; cmp != 0) return cmp;
return this->d2 <=> rhs.d2;
}
bool operator==(const CKGUID& rhs) const {
+4 -2
View File
@@ -5,7 +5,9 @@
#endif
// https://stackoverflow.com/questions/2164827/explicitly-exporting-shared-library-functions-in-linux
// generate import export macro
// generate import export macro.
// these macro is not used by LibCmo because LibCmo is static library
// these macro may used by other project such as BMap.
#if defined(_MSC_VER)
// Microsoft
#define LIBCMO_RAW_EXPORT __declspec(dllexport)
@@ -22,7 +24,7 @@
// do nothing and hope for the best?
#define LIBCMO_RAW_EXPORT
#define LIBCMO_RAW_IMPORT
#pragma warning Unknown dynamic link import/export semantics.
#pragma warning "Unknown dynamic link import/export semantics."
#endif
// choosee proper style