Skip to content

Commit

Permalink
chg: dev: move comment from place
Browse files Browse the repository at this point in the history
  • Loading branch information
biojppm committed Nov 17, 2020
1 parent 340ea34 commit 6925537
Showing 1 changed file with 53 additions and 49 deletions.
102 changes: 53 additions & 49 deletions src/c4/cmany/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,53 @@
from .build_item import BuildItem
from .err import TooManyTargets

"""
generators: https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html
Unix Makefiles
MSYS Makefiles
MinGW Makefiles
NMake Makefiles
Ninja
Watcom WMake
CodeBlocks - Ninja
CodeBlocks - Unix Makefiles
CodeBlocks - MinGW Makefiles
CodeBlocks - NMake Makefiles
CodeLite - Ninja
CodeLite - Unix Makefiles
CodeLite - MinGW Makefiles
CodeLite - NMake Makefiles
Eclipse CDT4 - Ninja
Eclipse CDT4 - Unix Makefiles
Eclipse CDT4 - MinGW Makefiles
Eclipse CDT4 - NMake Makefiles
KDevelop3
KDevelop3 - Unix Makefiles
Kate - Ninja
Kate - Unix Makefiles
Kate - MinGW Makefiles
Kate - NMake Makefiles
Sublime Text 2 - Ninja
Sublime Text 2 - Unix Makefiles
Sublime Text 2 - MinGW Makefiles
Sublime Text 2 - NMake Makefiles
Visual Studio 6
Visual Studio 7
Visual Studio 7 .NET 2003
Visual Studio 8 2005 [Win64|IA64]
Visual Studio 9 2008 [Win64|IA64]
Visual Studio 10 2010 [Win64|IA64]
Visual Studio 11 2012 [Win64|ARM]
Visual Studio 12 2013 [Win64|ARM]
Visual Studio 14 2015 [Win64|ARM]
Visual Studio 15 2017 [Win64|ARM]
Visual Studio 16 2019 -A [Win32|x64|ARM|ARM64]
Green Hills MULTI
Xcode
"""

# -----------------------------------------------------------------------------
class Generator(BuildItem):
Expand Down Expand Up @@ -104,53 +151,10 @@ def cmd_source_file(self, target, source_file):

def install(self):
bt = str(self.build.build_type)
return ['cmake', '--build', '.', '--config', bt, '--target', 'install',
'--parallel', str(self.num_jobs)]
return ['cmake', '--build', '.', '--config', bt, '--target', 'install']

def clean_msbuild_target_name(self, target_name):
# if a target has a . in the name, it must be substituted for _
target_safe = re.sub(r'\.', r'_', target_name)


"""
generators: https://cmake.org/cmake/help/v3.7/manual/cmake-generators.7.html
Unix Makefiles
MSYS Makefiles
MinGW Makefiles
NMake Makefiles
Ninja
Watcom WMake
CodeBlocks - Ninja
CodeBlocks - Unix Makefiles
CodeBlocks - MinGW Makefiles
CodeBlocks - NMake Makefiles
CodeLite - Ninja
CodeLite - Unix Makefiles
CodeLite - MinGW Makefiles
CodeLite - NMake Makefiles
Eclipse CDT4 - Ninja
Eclipse CDT4 - Unix Makefiles
Eclipse CDT4 - MinGW Makefiles
Eclipse CDT4 - NMake Makefiles
KDevelop3
KDevelop3 - Unix Makefiles
Kate - Ninja
Kate - Unix Makefiles
Kate - MinGW Makefiles
Kate - NMake Makefiles
Sublime Text 2 - Ninja
Sublime Text 2 - Unix Makefiles
Sublime Text 2 - MinGW Makefiles
Sublime Text 2 - NMake Makefiles
Visual Studio 6
Visual Studio 7
Visual Studio 7 .NET 2003
Visual Studio 8 2005 [Win64|IA64]
Visual Studio 9 2008 [Win64|IA64]
Visual Studio 10 2010 [Win64|IA64]
Visual Studio 11 2012 [Win64|ARM]
Visual Studio 12 2013 [Win64|ARM]
Visual Studio 14 2015 [Win64|ARM]
Visual Studio 15 2017 [Win64|ARM]
Visual Studio 16 2019 -A [Win32|x64|ARM|ARM64]
Green Hills MULTI
Xcode
"""

0 comments on commit 6925537

Please sign in to comment.