created project with cmake
This commit is contained in:
parent
c4b3d8ac5f
commit
5f6abf300e
54 changed files with 412 additions and 310 deletions
|
@ -0,0 +1,29 @@
|
|||
###########################################################################################
|
||||
#
|
||||
# (c) Technical Software Engineering Plazotta 2021
|
||||
#
|
||||
# CMAKE project main file
|
||||
#
|
||||
# History
|
||||
# 29.09.2019 / Plazotta
|
||||
# Template created.
|
||||
#
|
||||
#-----------------------------------------------------------------------------------------
|
||||
# Define project spezific requierements
|
||||
#
|
||||
# Project name, output file name, project description
|
||||
#
|
||||
set(PROJECT_NAME VS_CODE_ANALYZER)
|
||||
set(PROJECT_DESCRIPTION "TSEP Static Code Analyzer for Visual Studio")
|
||||
#
|
||||
#-----------------------------------------------------------------------------------------
|
||||
# Static Code Analyzer for VS in Windows
|
||||
#
|
||||
#
|
||||
IF (WIN32)
|
||||
add_custom_target(${PROJECT_NAME}
|
||||
COMMAND msbuild $(SolutionDir)/$(SolutionFileName) /m /t:Rebuild /p:RunCodeAnalysis=true /p:CodeAnalysisRuleSet=AllRules.ruleset
|
||||
COMMENT "Running Code Analyzer ..."
|
||||
)
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES FOLDER "CMakePredefinedTargets")
|
||||
ENDIF (WIN32)
|
Loading…
Add table
Add a link
Reference in a new issue