|
22 | 22 | <CharacterSet>Unicode</CharacterSet> |
23 | 23 | </PropertyGroup> |
24 | 24 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
25 | | - <ConfigurationType>Application</ConfigurationType> |
| 25 | + <ConfigurationType>DynamicLibrary</ConfigurationType> |
26 | 26 | <UseDebugLibraries>false</UseDebugLibraries> |
27 | 27 | <PlatformToolset>v120</PlatformToolset> |
28 | 28 | <WholeProgramOptimization>true</WholeProgramOptimization> |
29 | | - <CharacterSet>MultiByte</CharacterSet> |
| 29 | + <CharacterSet>Unicode</CharacterSet> |
30 | 30 | </PropertyGroup> |
31 | 31 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
32 | 32 | <ImportGroup Label="ExtensionSettings"> |
|
43 | 43 | <TargetExt>.dll</TargetExt> |
44 | 44 | <TargetName>nlua</TargetName> |
45 | 45 | </PropertyGroup> |
| 46 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
| 47 | + <OutDir>$(ProjectDir)</OutDir> |
| 48 | + <TargetName>nlua</TargetName> |
| 49 | + <TargetExt>.dll</TargetExt> |
| 50 | + </PropertyGroup> |
46 | 51 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
47 | 52 | <ClCompile> |
48 | 53 | <WarningLevel>Level3</WarningLevel> |
49 | 54 | <Optimization>Disabled</Optimization> |
50 | 55 | <SDLCheck>true</SDLCheck> |
51 | | - <PreprocessorDefinitions>WIN32;_DEBUG;LUA_COMPAT_5_2;LUA_COMPAT_5_1;LUA_BUILD_AS_DLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 56 | + <PreprocessorDefinitions>_DEBUG;LUA_COMPAT_5_2;LUA_COMPAT_5_1;LUA_BUILD_AS_DLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
52 | 57 | <CompileAs>Default</CompileAs> |
53 | 58 | </ClCompile> |
54 | 59 | <Link> |
|
65 | 70 | <FunctionLevelLinking>true</FunctionLevelLinking> |
66 | 71 | <IntrinsicFunctions>true</IntrinsicFunctions> |
67 | 72 | <SDLCheck>true</SDLCheck> |
| 73 | + <PreprocessorDefinitions>LUA_COMPAT_5_2;LUA_COMPAT_5_1;LUA_BUILD_AS_DLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
68 | 74 | </ClCompile> |
69 | 75 | <Link> |
70 | 76 | <GenerateDebugInformation>true</GenerateDebugInformation> |
71 | 77 | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
72 | 78 | <OptimizeReferences>true</OptimizeReferences> |
73 | 79 | </Link> |
| 80 | + <PostBuildEvent> |
| 81 | + <Command>copy $(OutDir)$(TargetName)$(TargetExt) $(SolutionDir)</Command> |
| 82 | + </PostBuildEvent> |
74 | 83 | </ItemDefinitionGroup> |
75 | 84 | <ItemGroup> |
76 | 85 | <ClCompile Include="lapi.c" /> |
|
0 commit comments