Skip to content

Commit

Permalink
Vutils
Browse files Browse the repository at this point in the history
  • Loading branch information
vic4key committed Oct 20, 2023
1 parent 628e005 commit 69efdf7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
16 changes: 0 additions & 16 deletions include/Vu.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,4 @@

#include <Vutils.h>

#if defined(_MSC_VER) || defined(__BCPLUSPLUS__)
#if defined(_DLL) // MD & MDd
#ifdef _DEBUG // MDd
#pragma comment(lib, "Vutils-MDd.lib")
#else // MD
#pragma comment(lib, "Vutils-MD.lib")
#endif // _DEBUG
#else // MT & MTd
#ifdef _DEBUG // MTd
#pragma comment(lib, "Vutils-MTd.lib")
#else // MT
#pragma comment(lib, "Vutils-MT.lib")
#endif // _DEBUG
#endif
#endif // _DLL

#endif // VU_H
21 changes: 20 additions & 1 deletion include/Vutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -3680,4 +3680,23 @@ class Debouncer : public SingletonT<Debouncer>
#undef max
#endif // !VU_min_max_macro_defined

#endif // VUTILS_H
#endif // VUTILS_H

/**
* Automatic linking Vutils library when compiler performs building
*/
#if defined(_MSC_VER) || defined(__BCPLUSPLUS__)
#if defined(_DLL) // MD & MDd
#ifdef _DEBUG // MDd
#pragma comment(lib, "Vutils-MDd.lib")
#else // MD
#pragma comment(lib, "Vutils-MD.lib")
#endif // _DEBUG
#else // MT & MTd
#ifdef _DEBUG // MTd
#pragma comment(lib, "Vutils-MTd.lib")
#else // MT
#pragma comment(lib, "Vutils-MT.lib")
#endif // _DEBUG
#endif
#endif // _DLL

0 comments on commit 69efdf7

Please sign in to comment.