Skip to content

Commit

Permalink
macros.hpp added.
Browse files Browse the repository at this point in the history
ElektrikAkar committed Jul 26, 2024
1 parent dd079f2 commit 004c9ba
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/settings/macros.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* macros.hpp
*
* Created on: 26 Jul 2024
* Author(s): Volkan Kumtepeli
*
* Defines macros, especially used for external libraries.
*
*/


// Default of this is __forceinline but we use __inline to make compilation faster at the moment.
// Probably better to make it __forceinline in final build. #TODO Make this SLIDE_DEVELOPER_MODE dependent macro.
#if (defined _MSC_VER) || (defined __INTEL_COMPILER)
#define EIGEN_STRONG_INLINE __inline //
#else
#define EIGEN_STRONG_INLINE inline
#endif
1 change: 1 addition & 0 deletions src/settings/settings.hpp
Original file line number Diff line number Diff line change
@@ -18,6 +18,7 @@
#include "constants.hpp"
#include "slide_paths.hpp"
#include "tolerances.hpp"
#include "macros.hpp"

namespace slide::settings::cool //!< Cooling System Settings.
{

0 comments on commit 004c9ba

Please sign in to comment.