Enhance CMake configuration and project generation scripts
- Added policies for submodule compatibility and suppressed deprecation warnings in CMakeLists.txt. - Updated Visual Studio project generation scripts to include new CMake arguments for policy versions and thread handling. - Introduced a new PowerShell script to test CMake configuration, ensuring successful setup and providing user feedback.
This commit is contained in:
@@ -136,6 +136,11 @@ $CmakeArgs = @(
|
||||
"-G", "`"$Generator`"",
|
||||
$ArchFlag,
|
||||
"-DCMAKE_BUILD_TYPE=$Configuration",
|
||||
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
|
||||
"-DCMAKE_POLICY_VERSION_MAXIMUM=3.28",
|
||||
"-DCMAKE_WARN_DEPRECATED=OFF",
|
||||
"-DABSL_PROPAGATE_CXX_STD=ON",
|
||||
"-DTHREADS_PREFER_PTHREAD_FLAG=OFF",
|
||||
"-DYAZE_BUILD_TESTS=ON",
|
||||
"-DYAZE_BUILD_APP=ON",
|
||||
"-DYAZE_BUILD_LIB=ON",
|
||||
|
||||
Reference in New Issue
Block a user