-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for LIBARGS_SHARED with MSVC
- Loading branch information
Showing
10 changed files
with
239 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[requires] | ||
|
||
[generators] | ||
cmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright (c) 2018 midnightBITS | ||
// This code is licensed under MIT license (see LICENSE for details) | ||
|
||
#pragma once | ||
|
||
#if defined(_WIN32) | ||
#define LIBARGS_EXPORT __declspec(dllexport) | ||
#define LIBARGS_IMPORT __declspec(dllimport) | ||
#else | ||
#define LIBARGS_EXPORT | ||
#define LIBARGS_IMPORT | ||
#endif | ||
|
||
#if defined(LIBARGS_SHARED) | ||
#if defined(LIBARGS_EXPORTING) | ||
#define LIBARGS_API LIBARGS_EXPORT | ||
#else | ||
#define LIBARGS_API LIBARGS_IMPORT | ||
#endif | ||
#else | ||
#define LIBARGS_API | ||
#endif |
Oops, something went wrong.