mirror of
https://github.com/silverqx/TinyORM.git
synced 2025-12-30 15:29:36 -06:00
todos and comments
This commit is contained in:
@@ -29,7 +29,7 @@ else:unix {
|
||||
LIBS += -lmysqlclient
|
||||
}
|
||||
|
||||
# others
|
||||
# Use faster linkers
|
||||
clang: CONFIG *= use_lld_linker
|
||||
else: CONFIG *= use_gold_linker
|
||||
}
|
||||
|
||||
@@ -474,6 +474,7 @@ namespace Orm
|
||||
{
|
||||
reconnectIfMissingConnection();
|
||||
|
||||
// CUR I'm able to get rid of TINYORM_DEBUG_SQL public macro, when I move line below, especially m_debugSql check to the cpp file, after that TINYORM_DEBUG_SQL will be private silverqx
|
||||
// Elapsed timer needed
|
||||
const auto countElapsed = !m_pretending && (m_debugSql || m_countingElapsed);
|
||||
|
||||
|
||||
@@ -98,6 +98,7 @@ namespace Relations {
|
||||
// CUR do not forget to add new compiler/linker flags also to qmake build silverqx
|
||||
// CUR use #pragma system_header when I will tune playground, https://docs.microsoft.com/en-us/cpp/preprocessor/system-header-pragma?view=msvc-160 silverqx
|
||||
// CUR cmake, add support for multi-config generators silverqx
|
||||
// CUR check hide_symbols on unix playgrournd, does it has effect on non-lib? silverqx
|
||||
/*! Base model class. */
|
||||
template<typename Derived, AllRelationsConcept ...AllRelations>
|
||||
class Model :
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#ifndef TINYORM_EXPORT_H
|
||||
#define TINYORM_EXPORT_H
|
||||
|
||||
// BUG TINY_DECL_IMPORT should has visibility("hidden") ? silverqx
|
||||
#if defined(_MSC_VER) || defined(WIN64) || defined(_WIN64) || defined(__WIN64__) \
|
||||
|| defined(WIN32) || defined(_WIN32) || defined(__WIN32__) \
|
||||
|| defined(__NT__)
|
||||
|
||||
@@ -13,7 +13,7 @@ else:unix {
|
||||
# range-v3
|
||||
QMAKE_CXXFLAGS += -isystem $$quote(/home/xyz/vcpkg/installed/x64-linux/include)
|
||||
|
||||
# others
|
||||
# Use faster linkers
|
||||
clang: CONFIG *= use_lld_linker
|
||||
else: CONFIG *= use_gold_linker
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user