Skip to content

Commit

Permalink
DEATH TO AUTOLINK
Browse files Browse the repository at this point in the history
Tired of autolink screwing up the linker step, let's just get rid of it anywhere it appears (again)
  • Loading branch information
codemercenary committed Jan 7, 2015
1 parent fef8772 commit 37d5059
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 625 deletions.
20 changes: 0 additions & 20 deletions contrib/autoboost/autoboost/archive/detail/auto_link_archive.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,4 @@

#include <autoboost/archive/detail/decl.hpp>

#if !defined(AUTOBOOST_ALL_NO_LIB) && !defined(AUTOBOOST_SERIALIZATION_NO_LIB) \
&& !defined(AUTOBOOST_ARCHIVE_SOURCE) && !defined(AUTOBOOST_WARCHIVE_SOURCE) \
&& !defined(AUTOBOOST_SERIALIZATION_SOURCE)

// Set the name of our library, this will get undef'ed by auto_link.hpp
// once it's done with it:
//
#define AUTOBOOST_LIB_NAME autoboost_serialization
//
// If we're importing code from a dll, then tell auto_link.hpp about it:
//
#if defined(AUTOBOOST_ALL_DYN_LINK) || defined(AUTOBOOST_SERIALIZATION_DYN_LINK)
# define AUTOBOOST_DYN_LINK
#endif
//
// And include the header that does the work:
//
#include <autoboost/config/auto_link.hpp>
#endif // auto-linking disabled

#endif // AUTOBOOST_ARCHIVE_DETAIL_AUTO_LINK_ARCHIVE_HPP
19 changes: 0 additions & 19 deletions contrib/autoboost/autoboost/archive/detail/auto_link_warchive.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,4 @@

#include <autoboost/archive/detail/decl.hpp>

#if !defined(AUTOBOOST_WARCHIVE_SOURCE) \
&& !defined(AUTOBOOST_ALL_NO_LIB) && !defined(AUTOBOOST_SERIALIZATION_NO_LIB)

// Set the name of our library, this will get undef'ed by auto_link.hpp
// once it's done with it:
//
#define AUTOBOOST_LIB_NAME autoboost_wserialization
//
// If we're importing code from a dll, then tell auto_link.hpp about it:
//
#if defined(AUTOBOOST_ALL_DYN_LINK) || defined(AUTOBOOST_SERIALIZATION_DYN_LINK)
# define AUTOBOOST_DYN_LINK
#endif
//
// And include the header that does the work:
//
#include <autoboost/config/auto_link.hpp>
#endif // auto-linking disabled

#endif // ARCHIVE_DETAIL_AUTO_LINK_ARCHIVE_HPP
16 changes: 0 additions & 16 deletions contrib/autoboost/autoboost/atomic/detail/link.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,4 @@
#define AUTOBOOST_ATOMIC_DECL
#endif

///////////////////////////////////////////////////////////////////////////////
// Auto library naming
#if !defined(AUTOBOOST_ATOMIC_SOURCE) && !defined(AUTOBOOST_ALL_NO_LIB) && \
!defined(AUTOBOOST_ATOMIC_NO_LIB)

#define AUTOBOOST_LIB_NAME autoboost_atomic

// tell the auto-link code to select a dll when required:
#if defined(AUTOBOOST_ALL_DYN_LINK) || defined(AUTOBOOST_ATOMIC_DYN_LINK)
#define AUTOBOOST_DYN_LINK
#endif

#include <autoboost/config/auto_link.hpp>

#endif // auto-linking disabled

#endif
19 changes: 0 additions & 19 deletions contrib/autoboost/autoboost/chrono/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,25 +192,6 @@



// enable automatic library variant selection ------------------------------//

#if !defined(AUTOBOOST_CHRONO_SOURCE) && !defined(AUTOBOOST_ALL_NO_LIB) && !defined(AUTOBOOST_CHRONO_NO_LIB)
//
// Set the name of our library; this will get undef'ed by auto_link.hpp
// once it's done with it:
//
#define AUTOBOOST_LIB_NAME autoboost_chrono
//
// If we're importing code from a dll, then tell auto_link.hpp about it:
//
#if defined(AUTOBOOST_ALL_DYN_LINK) || defined(AUTOBOOST_CHRONO_DYN_LINK)
# define AUTOBOOST_DYN_LINK
#endif
//
// And include the header that does the work:
//
#include <autoboost/config/auto_link.hpp>
#endif // auto-linking disabled
#endif // AUTOBOOST_CHRONO_HEADER_ONLY
#endif // AUTOBOOST_CHRONO_CONFIG_HPP

0 comments on commit 37d5059

Please sign in to comment.