Update CMake configuration in YAZE project to include additional build options
- Modified the `ConfigureCMake` target in `YAZE.vcxproj` to add options for generating libraries and executables, enhancing the build flexibility. - This change improves the project's configuration by allowing for more granular control over the build outputs.
This commit is contained in:
@@ -1059,7 +1059,7 @@
|
|||||||
<PackageReference Include="sdl2" Version="2.28.5" />
|
<PackageReference Include="sdl2" Version="2.28.5" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Target Name="ConfigureCMake" BeforeTargets="BuildDependencies">
|
<Target Name="ConfigureCMake" BeforeTargets="BuildDependencies">
|
||||||
<Exec Command="cmake -B "$(ProjectDir)build" -G "Visual Studio 17 2022" -A $(Platform) -DCMAKE_POLICY_VERSION_MINIMUM=3.5"
|
<Exec Command="cmake -B "$(ProjectDir)build" -G "Visual Studio 17 2022" -A $(Platform) -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DASAR_GEN_LIB=ON -DASAR_GEN_DLL=OFF -DASAR_GEN_EXE=OFF"
|
||||||
ContinueOnError="false"
|
ContinueOnError="false"
|
||||||
WorkingDirectory="$(ProjectDir)" />
|
WorkingDirectory="$(ProjectDir)" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|||||||
Reference in New Issue
Block a user