基础库增加静态编译与动态编译结合的代码
parent
c6880b6ac8
commit
d7fb793b1f
|
@ -218,7 +218,7 @@
|
|||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>NDEBUG;BASECOMMONLIBRARY_EXPORTS;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;BASECONSTVARIABLE_API;_SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>NDEBUG;BASECONSTVARIABLE_STATIC_API;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;_SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
|
|
|
@ -6,20 +6,23 @@
|
|||
//#define EIGEN_NO_DEBUG
|
||||
|
||||
|
||||
|
||||
//#ifdef BASECONSTVARIABLE_API
|
||||
//#define BASECONSTVARIABLEAPI __declspec(dllexport)
|
||||
//#else
|
||||
//#define BASECONSTVARIABLEAPI __declspec(dllimport)
|
||||
//#endif
|
||||
|
||||
|
||||
#ifndef BASECONSTVARIABLE_STATIC_API
|
||||
#ifdef BASECONSTVARIABLE_API
|
||||
#define BASECONSTVARIABLEAPI
|
||||
#define BASECONSTVARIABLEAPI __declspec(dllexport)
|
||||
#else
|
||||
#define BASECONSTVARIABLEAPI __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#define BASECONSTVARIABLEAPI
|
||||
#endif
|
||||
|
||||
|
||||
//#ifdef BASECONSTVARIABLE_API
|
||||
//#define BASECONSTVARIABLEAPI
|
||||
//#else
|
||||
//#define BASECONSTVARIABLEAPI
|
||||
//#endif
|
||||
|
||||
/** 定义常见文件格式*********/
|
||||
#define ENVI_FILE_FORMAT_FILTER u8"ALL File(*.*);;ENVI Bin(*.bin);;ENVI Data(*.dat);;ENVI Data(*.data);;tiff影像(*.tif);;tiff影像(*.tiff)"
|
||||
#define XML_FILE_FORMAT_FILTER u8"ALL File(*.*);;XML File(*.xml);;tiff影像(*.tiff)"
|
||||
|
|
Loading…
Reference in New Issue