Skip to content

Commit

Permalink
Remove C++11 references, Objective-C build rules
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier committed Jan 8, 2025
1 parent 4b6cbf9 commit 2fae807
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 29 deletions.
2 changes: 1 addition & 1 deletion csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ in the [Ice manual][1].

- [Chat](./Chat) contains a .NET GUI client for the ZeroC [Chat Demo][2].

Refer to the [C++11 demos](../cpp11) for more examples that use the Ice services
Refer to the [C++ demos)(../cpp) for more examples that use the Ice services
(Glacier2, IceGrid, IceStorm).

## Building and running the Demos with .NET on Windows, Linux, and macOS
Expand Down
2 changes: 1 addition & 1 deletion java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ following additional subdirectories:
- [Manual](./Manual) contains complete examples for some of the code snippets
in the [Ice manual][1].

Refer to the [C++11 demos](../cpp11) for more examples that use the Ice services
Refer to the [C++ demos)(../cpp) for more examples that use the Ice services
(Glacier2, IceGrid, IceStorm).

## Build Instructions
Expand Down
2 changes: 1 addition & 1 deletion js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The following subdirectories contain sample programs:
- [Manual](./Manual) contains complete examples for some of the code snippets
in the [Ice manual][1].

Refer to the [C++11 demos](../../cpp11) for more examples that use Ice services
Refer to the [C++ demos](../../cpp) for more examples that use Ice services
such as IceGrid and IceStorm.

## Build Instructions
Expand Down
26 changes: 3 additions & 23 deletions make/Make.project.rules
Original file line number Diff line number Diff line change
Expand Up @@ -127,26 +127,6 @@ $3/%.o: $1/%.cpp
$(Q)$(MV) $3/$$*.Td $3/$$*.cpp.d
endif

ifneq ($(filter %.mm,$4),)
# Rules to build Objective-C++ sources from <srcdir>
$3/%.o: $1/%.mm
$3/%.o: $1/%.mm
$(E) "Compiling [$8-$9] $$<"
$(Q)$(or $($8_cxx),$(platform_cxx)) $(CXXFLAGS) $(call depend-cppflags,$3/$$*.Td,$$@)\
$(strip $6) $(CPPFLAGS) -c $$< -o $$@
$(Q)$(MV) $3/$$*.Td $3/$$*.mm.d
endif

ifneq ($(filter %.m,$4),)
# Rules to build Objective-C sources from <srcdir>
$3/%.o: $1/%.m
$3/%.o: $1/%.m
$(E) "Compiling [$8-$9] $$<"
$(Q)$(or $($8_cxx),$(platform_cxx)) $(CXXFLAGS) $(call depend-cppflags,$3/$$*.Td,$$@)\
$(strip $6) $(CPPFLAGS) -c $$< -o $$@
$(Q)$(MV) $3/$$*.Td $3/$$*.m.d
endif

endef

#
Expand Down Expand Up @@ -944,7 +924,7 @@ comma := ,
escape-ldflags ?= $1
unescape-ldflags ?= $1

mappings = cpp objective-c python ruby php
mappings = cpp python ruby php
mappingdir3 = $(if $(filter $(mappings),$(notdir $1)),$1,$(if $1,$(call mappingdir3,$(call dirname,$1))))
mappingdir2 = $(if $(filter ../%,$1),$(call mappingdir2,$(patsubst ../%,%,$1)),$(call mappingdir3,$1))
mappingdir = $(patsubst $(lang_srcdir)/%,%,$(if $(filter-out ../%,$1),$2,$(top_srcdir)/$(call mappingdir2,$1)/$2))
Expand Down Expand Up @@ -1064,8 +1044,8 @@ relpathfromdir = $(if $(findstring /,$1),$(call relpathfromdir,$(call dirname,$
# $(call platform-and-config-var,$1=varname,$2=component,$3=platform,$4=config,$5=comp[platform-config],$6=value)
#
# Check for platform and configuration specific variable. For example, if variable
# is `objdir', for the configuration `cpp11-static' and the `osx' platform, the
# resulting value will be: $(osx_objdir) $(cpp11_objdir) $(static_objdir).
# is `objdir', for the configuration `cpp-static' and the `osx' platform, the
# resulting value will be: $(osx_objdir) $(cpp_objdir) $(static_objdir).
#
# The configuration value is decomposed based on the dash character and the value
# of each individual configurations is recomposed with a dash (so for the config
Expand Down
2 changes: 1 addition & 1 deletion python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Most of the subdirectories here correspond directly to Ice components, such as
[Manual](./Manual) contains complete examples for some of the code snippets in
the [Ice manual][1].

Refer to the [C++11 demos](../cpp11) for more examples that use the Ice
Refer to the [C++ demos)(../cpp) for more examples that use the Ice
services.

## Prerequisites
Expand Down
2 changes: 1 addition & 1 deletion ruby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ discovery plug-in.
- [Manual](./Manual) contains complete examples for some of the code snippets
in the [Ice manual][1].

Refer to the [C++11 demos](../cpp11) for more examples that use Ice services
Refer to the [C++ demos)(../cpp) for more examples that use Ice services
such as IceGrid and IceStorm.

## Prerequisites
Expand Down
2 changes: 1 addition & 1 deletion swift/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ in the [Ice manual][1].

- [Chat](./Chat) contains a SwiftUI client for the ZeroC [Chat Demo][2]

Refer to the [C++11 demos](../cpp11) for more examples that use the Ice services
Refer to the [C++ demos)(../cpp) for more examples that use the Ice services
(Glacier2, IceGrid, IceStorm).

## Building and running the demos with Xcode and Carthage
Expand Down

0 comments on commit 2fae807

Please sign in to comment.