Commit Graph

524 Commits

Author SHA1 Message Date
Jeff Genovy
408752ec49 ICU-20782 Enable Windows desktop ARM and ARM64 builds of ICU4C.
This enables "classic" desktop builds of ICU4C for both ARM (32-bit)
and ARM64 (64-bit) on Windows.

All but the two samples "cal" and "date" in the "allinone" project now
have ARM and ARM64 project configurations, and build for Windows Desktop
ARM/ARM64.

Note: In order to build the ARM/ARM64 data DLL, you need to first build
x64/Release, as the ARM/ARM build uses the x64 bits in order to be able
to cross-compile for ARM/ARM64. This allows for completely building
ARM/ARM64 binaries using only x64 hardware.

The ARM/ARM64 builds require using a newer version of the Windows SDK
than 8.1, so they have a separate WindowsTargetPlatformVersion which
uses Windows 10 SDK version 10.0.16299.0 (aka RS3), which is the first
version of the Windows SDK to support building ARM64 desktop applications.

In addition this also greatly cleans-up the ICU4C ".vcxproj" files, in
order to remove redundant parts, fix inconsistencies, and make them more
readable. This introduces two new variables in the shared `*.props`
files: `IcuBinOutputDir` and `IcuLibOutputDir` in order to further
reduce the amount of duplicated lines in the individual ".vcxproj"
files themselves.
2019-08-26 22:50:31 -07:00
Jeff Genovy
c5ad4664f9 ICU-20768 Remove fixed DLL base addresses when building Windows DLLs.
Remove redundant FixedBaseAddress entries from the vcxproj files.
Make the pkgdata -b option a no-op, and output a message to the user.
2019-08-20 15:37:15 -07:00
Christian O. Venegas
7ccc8a09d6 ICU-20566 Add missing ICU namespace macros for extra files
ICU now uses namespaces. When trying to use the scrptrun.h header, the
header cannot compile stand-alone as it is inheriting from UObject which
is namespaced now. Add namespace macros to properly inherit.

ICU-20566 Add scrptrun to the extra high level Makefile

The scrptrun project was not being added to the extra portion of the ICU
build. Add it as a sub project so it can always be built.

ICU-20566 Properly namespace the ScriptRun test

The ScriptRun class is now namespaced.  Update the test reference.

ICU-20566 Use int instead of void to compile

Clang will complain about having a void main without an int main to
invoke. Change void to int and return 0.
2019-06-17 20:16:03 -07:00
Steven R. Loomis
83a0542b5b ICU-20526 fix pkgdata where LD_SONAME has a trailing space
- added PKGDATA_TRAILING_SPACE to all of the pkgdataMakefile.in file.
- NOTE: Users who create their own pkgdata.inc / icupkg.inc files may need
   to recreate this PKGDATA_TRAILING_SPACE behavior.

- used the above variable, normally undefined, in mh-* files that need a trailing space

- Also, fixed use of system() in pkgdata.cpp per ICU-20538
This was causing pkgdata to return a zero status even on clang
failure, masking this issue.
2019-04-03 16:43:42 -07:00
Jeff Genovy
33d7868d45 ICU-20351 Warning cleanup changes for ICU4C under MSVC. 2019-01-16 16:43:02 -08:00
Jeff Genovy
9a5b7af83d ICU-13180 Support skiping building the UWP projects with a command line MSBuild option. 2018-11-06 16:02:03 -08:00
Shane Carr
fd5faeb48b ICU-20159 Fixing gcc warnings in project and test code. 2018-10-29 16:28:54 -07:00
Jeff Genovy
da15efacf0 ICU-13785 Adding dependency information to uconv project to prevent "NMAKE : fatal error U1077" on Win/VS builds.
X-SVN-Rev: 41452
2018-05-24 05:54:49 +00:00
Jeff Genovy
f35a17992f ICU-13586 Fix build break for Windows.
X-SVN-Rev: 41051
2018-03-02 19:28:51 +00:00
Jeff Genovy
bb915931d0 ICU-13586 No actual code changes. This change cleans up redundancies in the VS project files, and pulls in common or shared settings from a shared 'props' file. This means that you can now change one single file to target either VS2015 or VS2017, instead of needing to change many files. It also allows the VS project files to share common defines as well, meaning that if you need to target something other than Windows 7, you can make one change in one file, instead of needing to make hundreds. Also included in this change are improvements to the VS Solution files in order to properly denote the dependencies of the projects, which might be needed in the future for possible parallel project builds.
X-SVN-Rev: 41049
2018-03-02 03:20:22 +00:00
Jeff Genovy
07d9b3b567 ICU-13171 Enable multi-processor compilation (/MP) for faster builds.
X-SVN-Rev: 40937
2018-02-16 07:21:34 +00:00
Jeff Genovy
9f62b0dada ICU-13171 Update the VS project files to use VS 2017, plus various fixes to get Samples compiling.
Also add explicit defines for WINVER and _WIN32_WINNT for Windows 7 targeting in non-UWP projects.

X-SVN-Rev: 40935
2018-02-16 03:16:03 +00:00
Jeff Genovy
16598e5468 ICU-13436 Fix various typos and spelling mistakes.
X-SVN-Rev: 40645
2017-10-26 21:33:43 +00:00
Jeff Genovy
a709ddc0f2 ICU-13169 Issues retargeting VS project files due to missing WindowsTargetPlatformVersion elements. (tab to spaces)
X-SVN-Rev: 40099
2017-05-03 00:40:08 +00:00
Jeff Genovy
cb53fe41cd ICU-13169 Issues retargeting VS project files due to missing WindowsTargetPlatformVersion elements.
X-SVN-Rev: 40098
2017-05-03 00:28:11 +00:00
Andy Heninger
a0c9b06810 ICU-13049 svn properties updated to match auto-props values.
X-SVN-Rev: 39852
2017-03-17 21:19:03 +00:00
Steven R. Loomis
78b1977508 ICU-12766 aix/escaper: tests now build on AIX
* fix to UNICODE_STRING_SIMPLE for char16_t aliasing

X-SVN-Rev: 39821
2017-03-15 18:08:36 +00:00
Steven R. Loomis
b9ecfe69c3 ICU-12766 aix/escaper: WIP. Support u8
* support u8
* main tools now builds on AIX
* remove c'tors seen as duplicate under AIX
* successful build under AIX

X-SVN-Rev: 39818
2017-03-15 16:58:45 +00:00
Steven R. Loomis
4890638e08 ICU-12766 wip escaping for utf-8 input
* create a new escaper tool - needs to be invoked in mh- files
* escapes to temporary _whatever.cpp files
* does NOT handle multi line u"xxx" (or u'xxx'? )
* does not cleanup _*.cpp files
* fixup a bunch of Makefiles to add -I$(srcdir) (doesn't hurt anyway)

X-SVN-Rev: 39787
2017-03-13 23:19:33 +00:00
Andy Heninger
242e02c388 ICU-12764 icu4c utf-8 source files, update Copyright notices.
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Peter Edberg
a238722264 ICU-12895 update release version to 59.0.1 for m1
X-SVN-Rev: 39562
2017-01-16 00:42:22 +00:00
Shawn Steele
326552aa72 ICU-12087 - merge updates to use VS2015
X-SVN-Rev: 39085
2016-08-24 20:52:23 +00:00
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Fredrik Roubert
f75e591321 ICU-12012 Replace all sizeof p / U_SIZEOF_... with UPRV_LENGTHOF().
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/291740043 .

X-SVN-Rev: 38349
2016-02-24 22:52:29 +00:00
Fredrik Roubert
7f4b8d106b ICU-12012 Replace all sizeof p / sizeof *p with UPRV_LENGTHOF().
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/285520043 .

X-SVN-Rev: 38337
2016-02-23 10:40:09 +00:00
Andy Heninger
ae678d796b ICU-11609 add svn:eol-style property to vcxproj files.
X-SVN-Rev: 37364
2015-04-17 21:25:48 +00:00
Steven R. Loomis
7594250cc5 ICU-7653 changed uprv_lengthof to UPRV_LENGTHOF, also added apidoc
X-SVN-Rev: 36275
2014-08-28 22:13:45 +00:00
Tom Zhang
ee1f29b584 ICU-7653 move LENGTHOF(array) to common, internal header
X-SVN-Rev: 36265
2014-08-28 14:55:34 +00:00
Markus Scherer
c2ba26e8ba ICU-10472 build genrb, uconv, toolutil but not test suites with explicit UnicodeString constructors
X-SVN-Rev: 35230
2014-02-25 23:49:53 +00:00
Michael Ow
38d627e87f ICU-10134 Fix man page for uconv
X-SVN-Rev: 33613
2013-05-08 19:06:57 +00:00
Michael Ow
a22744bd41 ICU-9953 Disable uconv static data loading on zos
X-SVN-Rev: 33305
2013-02-22 17:50:44 +00:00
Michael Ow
baca52593a ICU-9953 Fix app data declaration in uconv
X-SVN-Rev: 33296
2013-02-21 22:55:33 +00:00
Steven R. Loomis
6eef7bff7b ICU-9596 cleanup U_NO_DEFAULT_INCLUDE_UTF_HEADERS - use utf_old.h in tests when needed
X-SVN-Rev: 32440
2012-09-27 18:52:04 +00:00
George Rhoten
8b10488235 ICU-9456 Dependency fixes for make -j 16
X-SVN-Rev: 32281
2012-08-28 22:57:29 +00:00
George Rhoten
a831a2d71f ICU-9456 Optimize the ICU4C build on Mac OS X
X-SVN-Rev: 32093
2012-08-03 17:27:44 +00:00
Michael Ow
671a7be44b ICU-9322 Fix some memory check errors in ICU tools
X-SVN-Rev: 31829
2012-05-17 19:58:22 +00:00
Michael Ow
0ca13b73b0 ICU-9292 Merge BEAM warning fixes from branch into trunk
X-SVN-Rev: 31792
2012-05-03 05:50:26 +00:00
Michael Ow
5fb1758cb1 ICU-9212 Use the correct installation command when installing ICU
X-SVN-Rev: 31667
2012-04-02 05:44:59 +00:00
Michael Ow
00bf73b0b0 ICU-8947 Fix some MinGW static build errors
X-SVN-Rev: 31662
2012-03-30 07:11:51 +00:00
Michael Ow
e144d4ff66 ICU-8936 Add check-exhaustive make target to run the test suite in exhaustive mode
X-SVN-Rev: 30961
2011-11-14 22:33:19 +00:00
Markus Scherer
9bcc40cf9e ICU-8452 un-autoconf platform.h, move user-configurable settings to uconfig.h, and other changes; from svn merge --reintegrate branches/markus/platformh at r30411
X-SVN-Rev: 30412
2011-07-23 00:10:30 +00:00
Michael Ow
5a0a5a7d87 ICU-8535 Use U_MINGW instead of U_CYGWIN where appropriate when building on MinGW
X-SVN-Rev: 30252
2011-06-29 19:49:05 +00:00
Steven R. Loomis
f8aae2e64a ICU-6015 fixups for this round. More platform bug fixes will go into #8350
X-SVN-Rev: 29972
2011-05-03 03:38:37 +00:00
Michael Ow
fd16ddb927 ICU-7628 Fix race condition in uconv Makefile
X-SVN-Rev: 29657
2011-03-15 19:37:00 +00:00
Markus Scherer
c23da28bcc ICU-8168 spelling fix
X-SVN-Rev: 29066
2010-11-17 21:58:21 +00:00
Steven R. Loomis
adb11cba8d ICU-8028 update version number to milestone:4.6, bump timebombs, etc
X-SVN-Rev: 28785
2010-10-09 01:23:28 +00:00
Steven R. Loomis
dec09768b9 ICU-7870 Visual Studio 2010
X-SVN-Rev: 28442
2010-08-10 20:16:09 +00:00
Steven R. Loomis
1875b3fdbc ICU-7672 remove deprecated calls in uconv, also fix manpage warnings.
X-SVN-Rev: 28021
2010-05-05 16:35:39 +00:00