mirror of
https://github.com/wqking/eventpp.git
synced 2024-12-27 00:17:02 +08:00
Added Visual Studio 2022 generator in CMake for tests
This commit is contained in:
parent
cf1ba5689d
commit
3e7df6ec2c
@ -30,6 +30,7 @@ none: needcmake
|
|||||||
$(ECHO) " mingw_coverage Generate MinGW makefile and then use mingw32-make to build and generate code coverage report."
|
$(ECHO) " mingw_coverage Generate MinGW makefile and then use mingw32-make to build and generate code coverage report."
|
||||||
$(ECHO) " msys Generate MSys makefile and then use make to build (release version)."
|
$(ECHO) " msys Generate MSys makefile and then use make to build (release version)."
|
||||||
$(ECHO) " nmake Generate Microsoft VC makefile and then use nmake to build."
|
$(ECHO) " nmake Generate Microsoft VC makefile and then use nmake to build."
|
||||||
|
$(ECHO) " vc22 Generate project files for Microsoft VC 2022. No auto build. You need to open the project in VC IDE then build."
|
||||||
$(ECHO) " vc19 Generate project files for Microsoft VC 2019. No auto build. You need to open the project in VC IDE then build."
|
$(ECHO) " vc19 Generate project files for Microsoft VC 2019. No auto build. You need to open the project in VC IDE then build."
|
||||||
$(ECHO) " vc17 Generate project files for Microsoft VC 2017. No auto build. You need to open the project in VC IDE then build."
|
$(ECHO) " vc17 Generate project files for Microsoft VC 2017. No auto build. You need to open the project in VC IDE then build."
|
||||||
$(ECHO) " vc15 Generate project files for Microsoft VC 2015. No auto build. You need to open the project in VC IDE then build."
|
$(ECHO) " vc15 Generate project files for Microsoft VC 2015. No auto build. You need to open the project in VC IDE then build."
|
||||||
@ -93,6 +94,11 @@ linux_debug: needcmake
|
|||||||
$(CH_DIR) $(CACHE_DIR)_linux_debug $(CMAKE) -DCMAKE_BUILD_TYPE=Debug -G"Unix Makefiles"
|
$(CH_DIR) $(CACHE_DIR)_linux_debug $(CMAKE) -DCMAKE_BUILD_TYPE=Debug -G"Unix Makefiles"
|
||||||
$(EXEC_BUILD)_linux_debug make $(TARGET)
|
$(EXEC_BUILD)_linux_debug make $(TARGET)
|
||||||
|
|
||||||
|
vc22: needcmake
|
||||||
|
$(MK_DIR) $(PROJECT_PREFIX)_vc22
|
||||||
|
$(CH_DIR) $(PROJECT_PREFIX)_vc22 $(CMAKE) -G "Visual Studio 17 2022" -A x64
|
||||||
|
$(ECHO) Please open the solution $(PROJECT).sln in $(PROJECT_PREFIX)_vc22 in VC IDE.
|
||||||
|
|
||||||
vc19: needcmake
|
vc19: needcmake
|
||||||
$(MK_DIR) $(PROJECT_PREFIX)_vc19
|
$(MK_DIR) $(PROJECT_PREFIX)_vc19
|
||||||
$(CH_DIR) $(PROJECT_PREFIX)_vc19 $(CMAKE) -G "Visual Studio 16 2019" -A x64
|
$(CH_DIR) $(PROJECT_PREFIX)_vc19 $(CMAKE) -G "Visual Studio 16 2019" -A x64
|
||||||
|
Loading…
x
Reference in New Issue
Block a user