-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide an example of extending CMake project type in Core Build (#1052)
In issue #1000 a lot of the work is on exposing a better API to ISVs. This new project serves these purposes: - Ensure the exposed API works in practice - Example for ISVs to use if they want to extend CMake - Provide an in-tree example of the API in use, so future editors of CDT have better chance of understanding *why* items are done as they are.
- Loading branch information
1 parent
978eea5
commit 5e62200
Showing
28 changed files
with
1,382 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>org.eclipse.cdt.cmake.example</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.ManifestBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.SchemaBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.pde.PluginNature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
2 changes: 2 additions & 0 deletions
2
cmake/org.eclipse.cdt.cmake.example/.settings/org.eclipse.core.resources.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
eclipse.preferences.version=1 | ||
encoding/<project>=UTF-8 |
486 changes: 486 additions & 0 deletions
486
cmake/org.eclipse.cdt.cmake.example/.settings/org.eclipse.jdt.core.prefs
Large diffs are not rendered by default.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
cmake/org.eclipse.cdt.cmake.example/.settings/org.eclipse.jdt.launching.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.launching.PREF_COMPILER_COMPLIANCE_DOES_NOT_MATCH_JRE=warning | ||
org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=warning |
213 changes: 213 additions & 0 deletions
213
cmake/org.eclipse.cdt.cmake.example/.settings/org.eclipse.jdt.ui.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,213 @@ | ||
cleanup.add_all=false | ||
cleanup.add_default_serial_version_id=true | ||
cleanup.add_generated_serial_version_id=false | ||
cleanup.add_missing_annotations=true | ||
cleanup.add_missing_deprecated_annotations=true | ||
cleanup.add_missing_methods=false | ||
cleanup.add_missing_nls_tags=false | ||
cleanup.add_missing_override_annotations=true | ||
cleanup.add_missing_override_annotations_interface_methods=true | ||
cleanup.add_serial_version_id=false | ||
cleanup.always_use_blocks=true | ||
cleanup.always_use_parentheses_in_expressions=false | ||
cleanup.always_use_this_for_non_static_field_access=false | ||
cleanup.always_use_this_for_non_static_method_access=false | ||
cleanup.array_with_curly=false | ||
cleanup.arrays_fill=false | ||
cleanup.bitwise_conditional_expression=false | ||
cleanup.boolean_literal=false | ||
cleanup.boolean_value_rather_than_comparison=false | ||
cleanup.break_loop=false | ||
cleanup.collection_cloning=false | ||
cleanup.comparing_on_criteria=false | ||
cleanup.comparison_statement=false | ||
cleanup.controlflow_merge=false | ||
cleanup.convert_functional_interfaces=false | ||
cleanup.convert_to_enhanced_for_loop=false | ||
cleanup.convert_to_enhanced_for_loop_if_loop_var_used=true | ||
cleanup.convert_to_switch_expressions=false | ||
cleanup.correct_indentation=false | ||
cleanup.do_while_rather_than_while=true | ||
cleanup.double_negation=false | ||
cleanup.else_if=false | ||
cleanup.embedded_if=false | ||
cleanup.evaluate_nullable=false | ||
cleanup.extract_increment=false | ||
cleanup.format_source_code=true | ||
cleanup.format_source_code_changes_only=false | ||
cleanup.hash=false | ||
cleanup.if_condition=false | ||
cleanup.insert_inferred_type_arguments=false | ||
cleanup.instanceof=false | ||
cleanup.instanceof_keyword=false | ||
cleanup.invert_equals=false | ||
cleanup.join=false | ||
cleanup.lazy_logical_operator=false | ||
cleanup.make_local_variable_final=true | ||
cleanup.make_parameters_final=false | ||
cleanup.make_private_fields_final=true | ||
cleanup.make_type_abstract_if_missing_method=false | ||
cleanup.make_variable_declarations_final=false | ||
cleanup.map_cloning=false | ||
cleanup.merge_conditional_blocks=false | ||
cleanup.multi_catch=false | ||
cleanup.never_use_blocks=false | ||
cleanup.never_use_parentheses_in_expressions=true | ||
cleanup.no_string_creation=false | ||
cleanup.no_super=false | ||
cleanup.number_suffix=false | ||
cleanup.objects_equals=false | ||
cleanup.one_if_rather_than_duplicate_blocks_that_fall_through=false | ||
cleanup.operand_factorization=false | ||
cleanup.organize_imports=true | ||
cleanup.overridden_assignment=false | ||
cleanup.plain_replacement=false | ||
cleanup.precompile_regex=false | ||
cleanup.primitive_comparison=false | ||
cleanup.primitive_parsing=false | ||
cleanup.primitive_rather_than_wrapper=false | ||
cleanup.primitive_serialization=false | ||
cleanup.pull_out_if_from_if_else=false | ||
cleanup.pull_up_assignment=false | ||
cleanup.push_down_negation=false | ||
cleanup.qualify_static_field_accesses_with_declaring_class=false | ||
cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true | ||
cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true | ||
cleanup.qualify_static_member_accesses_with_declaring_class=false | ||
cleanup.qualify_static_method_accesses_with_declaring_class=false | ||
cleanup.reduce_indentation=false | ||
cleanup.redundant_comparator=false | ||
cleanup.redundant_falling_through_block_end=false | ||
cleanup.remove_private_constructors=true | ||
cleanup.remove_redundant_modifiers=false | ||
cleanup.remove_redundant_semicolons=true | ||
cleanup.remove_redundant_type_arguments=true | ||
cleanup.remove_trailing_whitespaces=true | ||
cleanup.remove_trailing_whitespaces_all=true | ||
cleanup.remove_trailing_whitespaces_ignore_empty=false | ||
cleanup.remove_unnecessary_array_creation=false | ||
cleanup.remove_unnecessary_casts=true | ||
cleanup.remove_unnecessary_nls_tags=false | ||
cleanup.remove_unused_imports=true | ||
cleanup.remove_unused_local_variables=false | ||
cleanup.remove_unused_method_parameters=false | ||
cleanup.remove_unused_private_fields=true | ||
cleanup.remove_unused_private_members=false | ||
cleanup.remove_unused_private_methods=true | ||
cleanup.remove_unused_private_types=true | ||
cleanup.return_expression=false | ||
cleanup.simplify_lambda_expression_and_method_ref=false | ||
cleanup.single_used_field=false | ||
cleanup.sort_members=false | ||
cleanup.sort_members_all=false | ||
cleanup.standard_comparison=false | ||
cleanup.static_inner_class=false | ||
cleanup.strictly_equal_or_different=false | ||
cleanup.stringbuffer_to_stringbuilder=false | ||
cleanup.stringbuilder=false | ||
cleanup.stringbuilder_for_local_vars=true | ||
cleanup.stringconcat_to_textblock=false | ||
cleanup.substring=false | ||
cleanup.switch=false | ||
cleanup.system_property=false | ||
cleanup.system_property_boolean=false | ||
cleanup.system_property_file_encoding=false | ||
cleanup.system_property_file_separator=false | ||
cleanup.system_property_line_separator=false | ||
cleanup.system_property_path_separator=false | ||
cleanup.ternary_operator=false | ||
cleanup.try_with_resource=false | ||
cleanup.unlooped_while=false | ||
cleanup.unreachable_block=false | ||
cleanup.use_anonymous_class_creation=false | ||
cleanup.use_autoboxing=false | ||
cleanup.use_blocks=false | ||
cleanup.use_blocks_only_for_return_and_throw=false | ||
cleanup.use_directly_map_method=false | ||
cleanup.use_lambda=true | ||
cleanup.use_parentheses_in_expressions=false | ||
cleanup.use_string_is_blank=false | ||
cleanup.use_this_for_non_static_field_access=false | ||
cleanup.use_this_for_non_static_field_access_only_if_necessary=true | ||
cleanup.use_this_for_non_static_method_access=false | ||
cleanup.use_this_for_non_static_method_access_only_if_necessary=true | ||
cleanup.use_unboxing=false | ||
cleanup.use_var=false | ||
cleanup.useless_continue=false | ||
cleanup.useless_return=false | ||
cleanup.valueof_rather_than_instantiation=false | ||
cleanup_profile=_CDT | ||
cleanup_settings_version=2 | ||
eclipse.preferences.version=1 | ||
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true | ||
formatter_profile=_CDT | ||
formatter_settings_version=14 | ||
internal.default.compliance=user | ||
org.eclipse.jdt.ui.exception.name=e | ||
org.eclipse.jdt.ui.gettersetter.use.is=true | ||
org.eclipse.jdt.ui.ignorelowercasenames=true | ||
org.eclipse.jdt.ui.importorder=java;javax;org;com; | ||
org.eclipse.jdt.ui.keywordthis=false | ||
org.eclipse.jdt.ui.ondemandthreshold=1000 | ||
org.eclipse.jdt.ui.overrideannotation=true | ||
org.eclipse.jdt.ui.staticondemandthreshold=1000 | ||
org.eclipse.jdt.ui.text.custom_code_templates= | ||
sp_cleanup.add_default_serial_version_id=true | ||
sp_cleanup.add_generated_serial_version_id=false | ||
sp_cleanup.add_missing_annotations=true | ||
sp_cleanup.add_missing_deprecated_annotations=true | ||
sp_cleanup.add_missing_methods=false | ||
sp_cleanup.add_missing_nls_tags=false | ||
sp_cleanup.add_missing_override_annotations=true | ||
sp_cleanup.add_missing_override_annotations_interface_methods=true | ||
sp_cleanup.add_serial_version_id=false | ||
sp_cleanup.always_use_blocks=true | ||
sp_cleanup.always_use_parentheses_in_expressions=false | ||
sp_cleanup.always_use_this_for_non_static_field_access=false | ||
sp_cleanup.always_use_this_for_non_static_method_access=false | ||
sp_cleanup.convert_functional_interfaces=false | ||
sp_cleanup.convert_to_enhanced_for_loop=false | ||
sp_cleanup.correct_indentation=false | ||
sp_cleanup.format_source_code=true | ||
sp_cleanup.format_source_code_changes_only=false | ||
sp_cleanup.insert_inferred_type_arguments=false | ||
sp_cleanup.make_local_variable_final=true | ||
sp_cleanup.make_parameters_final=false | ||
sp_cleanup.make_private_fields_final=true | ||
sp_cleanup.make_type_abstract_if_missing_method=false | ||
sp_cleanup.make_variable_declarations_final=false | ||
sp_cleanup.never_use_blocks=false | ||
sp_cleanup.never_use_parentheses_in_expressions=true | ||
sp_cleanup.on_save_use_additional_actions=true | ||
sp_cleanup.organize_imports=true | ||
sp_cleanup.qualify_static_field_accesses_with_declaring_class=false | ||
sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true | ||
sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true | ||
sp_cleanup.qualify_static_member_accesses_with_declaring_class=false | ||
sp_cleanup.qualify_static_method_accesses_with_declaring_class=false | ||
sp_cleanup.remove_private_constructors=true | ||
sp_cleanup.remove_redundant_modifiers=false | ||
sp_cleanup.remove_redundant_semicolons=true | ||
sp_cleanup.remove_redundant_type_arguments=true | ||
sp_cleanup.remove_trailing_whitespaces=true | ||
sp_cleanup.remove_trailing_whitespaces_all=true | ||
sp_cleanup.remove_trailing_whitespaces_ignore_empty=false | ||
sp_cleanup.remove_unnecessary_casts=true | ||
sp_cleanup.remove_unnecessary_nls_tags=false | ||
sp_cleanup.remove_unused_imports=true | ||
sp_cleanup.remove_unused_local_variables=false | ||
sp_cleanup.remove_unused_private_fields=true | ||
sp_cleanup.remove_unused_private_members=false | ||
sp_cleanup.remove_unused_private_methods=true | ||
sp_cleanup.remove_unused_private_types=true | ||
sp_cleanup.sort_members=false | ||
sp_cleanup.sort_members_all=false | ||
sp_cleanup.use_anonymous_class_creation=false | ||
sp_cleanup.use_blocks=false | ||
sp_cleanup.use_blocks_only_for_return_and_throw=false | ||
sp_cleanup.use_lambda=true | ||
sp_cleanup.use_parentheses_in_expressions=false | ||
sp_cleanup.use_this_for_non_static_field_access=false | ||
sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true | ||
sp_cleanup.use_this_for_non_static_method_access=false | ||
sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true |
Oops, something went wrong.