Static Lib => Shared DLL
This commit is contained in:
parent
62c74b5694
commit
4aa1558001
@ -1,8 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Label="PropertySheets" />
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup />
|
||||
<ItemDefinitionGroup />
|
||||
<PropertyGroup>
|
||||
<OutDir>..\..\..\output\$(Platform).$(Configuration)\</OutDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WXEXTEND;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup />
|
||||
</Project>
|
@ -44,23 +44,23 @@
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
|
@ -279,7 +279,7 @@ protected:
|
||||
///
|
||||
/// Dockable application bar frame
|
||||
///
|
||||
class wxAppBarFrame : public wxAppBar<wxFrame>
|
||||
class ZRCOLA_API wxAppBarFrame : public wxAppBar<wxFrame>
|
||||
{
|
||||
public:
|
||||
wxAppBarFrame();
|
||||
@ -308,7 +308,7 @@ public:
|
||||
///
|
||||
/// Dockable application bar dialog
|
||||
///
|
||||
class wxAppBarDialog : public wxAppBar<wxDialog>
|
||||
class ZRCOLA_API wxAppBarDialog : public wxAppBar<wxDialog>
|
||||
{
|
||||
public:
|
||||
wxAppBarDialog();
|
||||
|
@ -28,7 +28,7 @@
|
||||
///
|
||||
/// Extended application
|
||||
///
|
||||
class wxAppEx : public wxApp
|
||||
class ZRCOLA_API wxAppEx : public wxApp
|
||||
{
|
||||
public:
|
||||
///
|
||||
|
@ -24,9 +24,13 @@
|
||||
#include <wx/defs.h>
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Usual debugging macros
|
||||
//---------------------------------------------------------------------------
|
||||
#ifdef WXEXTEND
|
||||
#define ZRCOLA_API __declspec(dllexport)
|
||||
#else
|
||||
#define ZRCOLA_API __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
|
||||
#if wxDEBUG_LEVEL
|
||||
#define wxVERIFY(x) wxASSERT((x))
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user