Commit graph

200 commits

Author SHA1 Message Date
Jérôme Gardou
97863bb997 [CMAKE]
Fix mingw_dllmain build

svn path=/branches/cmake-bringup/; revision=49496
2010-11-05 18:52:57 +00:00
Amine Khaldi
f0156b8450 [CMAKE]
- Update spec2def use in bzip2.

svn path=/branches/cmake-bringup/; revision=49494
2010-11-05 18:35:47 +00:00
Amine Khaldi
c93d1289fd [CMAKE]
- Remove wpp from build.
- Improve several tools and libs.
- Improve the root cmake file.

svn path=/branches/cmake-bringup/; revision=49492
2010-11-05 18:06:25 +00:00
Amine Khaldi
2901215553 [CMAKE]
- Improve more libs.

svn path=/branches/cmake-bringup/; revision=49490
2010-11-05 17:35:39 +00:00
Amine Khaldi
0e69cd8f27 [CMAKE]
- Improve drivers' libs.

svn path=/branches/cmake-bringup/; revision=49489
2010-11-05 17:29:01 +00:00
Amine Khaldi
30bb25e2f0 [CMAKE]
- Improve most of the static libraries.

svn path=/branches/cmake-bringup/; revision=49479
2010-11-05 12:02:12 +00:00
Sylvain Petreolle
8456a5473e [CMAKE]
Revert incorrect auto import change and use proper definitions instead.

svn path=/branches/cmake-bringup/; revision=49476
2010-11-05 09:38:42 +00:00
Amine Khaldi
12ab761aa1 [CMAKE]
- Improve hal, adns and bzip2.

svn path=/branches/cmake-bringup/; revision=49471
2010-11-04 21:38:28 +00:00
Timo Kreuzer
42f5ff6943 [MINGW]
add CRTDLL definition so that the startup code for dlls is actually compiled

svn path=/branches/cmake-bringup/; revision=49452
2010-11-02 20:39:19 +00:00
Timo Kreuzer
a3623f23de [CRT]
- Make all x86assembly ML compatible
- Remove memcpy, it was duplicated from memmove, copy the label instead
- Guard some code against compilation on msvc, as these functions are intrinsics on MSVC and cannot be implemented
- Fix some x64 assembly (don't modify stack below rsp)

svn path=/branches/cmake-bringup/; revision=49421
2010-11-02 00:06:33 +00:00
Timo Kreuzer
89358dad46 [RTL]
Make asm files ML compatible

svn path=/branches/cmake-bringup/; revision=49399
2010-11-01 11:41:01 +00:00
Timo Kreuzer
415f19bb99 [NTDLLSYS]
Set LINKER_LANGUAGE to C. Neccessary for MSVC.

svn path=/branches/cmake-bringup/; revision=49397
2010-11-01 09:39:06 +00:00
Jérôme Gardou
a305f84916 [CMAKE]
- fix libxslt build

svn path=/branches/cmake-bringup/; revision=49384
2010-10-31 23:19:12 +00:00
Jérôme Gardou
4ee1da42f1 [CMAKE]
- rewrite spec2def macro because
1. cmake gracefully handles def files as source files
2. cmake gracefully handles autogenerated files as source
3. it did not take into account the fact that all shared libraries haven't the .dll extension

svn path=/branches/cmake-bringup/; revision=49358
2010-10-30 16:08:19 +00:00
Sylvain Petreolle
1c93be12da [CMAKE]
scrnsave: add missing dependency.

svn path=/branches/cmake-bringup/; revision=49348
2010-10-30 10:16:42 +00:00
Amine Khaldi
34134f4cfa [CMAKE]
- More work on the missing modules. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=49325
2010-10-28 11:33:02 +00:00
Jérôme Gardou
ed8cab27c4 sync with trunk r49322
svn path=/branches/cmake-bringup/; revision=49323
2010-10-27 23:45:28 +00:00
Sylvain Petreolle
1fb94b1cb5 [CMAKE]
sync with trunk (r49230)

svn path=/branches/cmake-bringup/; revision=49246
2010-10-23 22:14:59 +00:00
Jérôme Gardou
2d93fd22ac [CMAKE]
- include stlport directory in set_cpp macro
  - move set_cpp macro where it belongs : it's generic enough to go to CMakeMacros.cmake

svn path=/branches/cmake-bringup/; revision=49148
2010-10-14 20:16:57 +00:00
Jérôme Gardou
33a0b314cd [CMAKE]
- add kernelmodedriver module type
  - add set_cpp macro, which takes care of all c++ stuff for you
  - hackfix stlport headers for c++ kernel mode modules.
  - complain about explorer
  - solitaire, telnet and uniata now build happily against stlport

svn path=/branches/cmake-bringup/; revision=49141
2010-10-14 11:03:20 +00:00
Timo Kreuzer
1ae19bdc4a [CMAKE]
Disable PSEH for MSVC

svn path=/branches/cmake-bringup/; revision=49076
2010-10-09 16:23:07 +00:00
Amine Khaldi
78306f6e03 [CMAKE]
- Fix libmpg123 and add it to build.

svn path=/branches/cmake-bringup/; revision=49073
2010-10-09 14:34:03 +00:00
Amine Khaldi
239538fb9b [CMAKE]
- Bring back explorer.

svn path=/branches/cmake-bringup/; revision=49068
2010-10-09 12:48:57 +00:00
Amine Khaldi
e9977ecc9f [CMAKE]
- More work on the dlls.
- libgcc is already a standard C lib, don't relink to it for executables.
- ICU isn't needed for now, disable it.

svn path=/branches/cmake-bringup/; revision=49059
2010-10-08 21:02:11 +00:00
Amine Khaldi
da7764cd5c [CMAKE]
- Improve some dlls.
- Fix cmd and stlport.
- Add libgcc as a C standard lib.

svn path=/branches/cmake-bringup/; revision=49056
2010-10-08 19:10:33 +00:00
Jérôme Gardou
db37322eb6 [CMAKE]
- link executables against gcc and mingw_common
  - remove link dependencies from mingw_common
This puts C executables into a good shape again.

svn path=/branches/cmake-bringup/; revision=49054
2010-10-08 18:04:16 +00:00
Jérôme Gardou
e20a0a30ee [CMAKE]
- Use stlport specific includes only for c++ source files
  - remove linking to ntdll, kernel32 and oldnames for mingw_common

svn path=/branches/cmake-bringup/; revision=49050
2010-10-08 13:47:39 +00:00
Jérôme Gardou
27267a3cab [CMAKE]
- add gcc dependencies to executables, not to mingw_(w)main
[STLPORT]
  - move features definitions where it belongs.
[SDK]
  - errno _must_ be defined in errno.h, nowhere else, or stlport headers choke.

svn path=/branches/cmake-bringup/; revision=49049
2010-10-08 10:46:54 +00:00
Amine Khaldi
4efda499f7 [CMAKE]
Jerome Gardou:
- Add STLport 5.2.1 (yes, STLport, the c++ stl implementation) to build. For now, it works only in user mode.
- Link some c++ executables to it
- sol.exe : one step towards a complete and modern OS.
- Dedicated to Amine for his patience and his help.
- Might Break Things! (tm)

svn path=/branches/cmake-bringup/; revision=49046
2010-10-07 22:09:31 +00:00
Jérôme Gardou
4553cddf93 [CMAKE]
- add missing file to mingw_common

svn path=/branches/cmake-bringup/; revision=49030
2010-10-07 11:47:29 +00:00
Sylvain Petreolle
3345c4056d [CMAKE]
Add missing psdk dependency to nt and smlib.
Fixes parallel builds.

svn path=/branches/cmake-bringup/; revision=49009
2010-10-06 08:02:25 +00:00
Amine Khaldi
d686345e81 [CMAKE]
- More work on the base modules. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=48984
2010-10-04 22:19:49 +00:00
Amine Khaldi
5682f2f8b1 [CMAKE]
- Fix bzip2.

svn path=/branches/cmake-bringup/; revision=48974
2010-10-04 07:11:54 +00:00
Amine Khaldi
afe5d2ee6e [CMAKE]
- Improve uuid and add psdk dependency.

svn path=/branches/cmake-bringup/; revision=48872
2010-09-25 14:30:47 +00:00
Amine Khaldi
80c36d8bb3 [CMAKE]
- Remove unneeded dependency.
- Remove rbuild file.

svn path=/branches/cmake-bringup/; revision=48834
2010-09-20 19:46:05 +00:00
Timo Kreuzer
e4d6536049 [CMAKE]
Add missing cportlib cmake file.

svn path=/branches/cmake-bringup/; revision=48832
2010-09-20 18:41:46 +00:00
Timo Kreuzer
912ce51ae6 [CMAKE]
Sync with trunk head (r48826)

svn path=/branches/cmake-bringup/; revision=48831
2010-09-20 17:27:52 +00:00
Timo Kreuzer
942aa9560e [MSVC]
Don't pass gcc specific options to msvc

svn path=/branches/cmake-bringup/; revision=48818
2010-09-19 17:39:09 +00:00
Amine Khaldi
13f105b14b [CMAKE]
- Introduce MSVC toolchain support. Just use -DCMAKE_TOOLCHAIN_FILE=toolchain-msvc.cmake for the toolchain.
- Sync setjmp.h from trunk.
- Improve mingw targets (mingw_common, mingw_wmain, oldnames... etc) a bit to make them compile and link with msvc.
- Dedicated to Timo ;)

svn path=/branches/cmake-bringup/; revision=48809
2010-09-19 00:27:24 +00:00
Amine Khaldi
13dc8a4761 [CMAKE]
- Generalize CMAKE_C_LINK_EXECUTABLE and CMAKE_EXE_LINKER_FLAGS, and use additional flags per module.
- Fix usetup: make it depend on psdk and buildno_header, and also fix the entry point (_NtProcessStartup -> _NtProcessStartup@4)
- Make ext2lib depend on psdk.

svn path=/branches/cmake-bringup/; revision=48802
2010-09-18 12:14:03 +00:00
Sylvain Petreolle
174808a463 Move all temporary import libs to a single directory.
This allows linking to libraries with "-lfoo".

svn path=/branches/cmake-bringup/; revision=48796
2010-09-17 20:27:01 +00:00
Amine Khaldi
6e7a324a26 [CMAKE]
- Improve bootvid, crt and ntoskrnl.

svn path=/branches/cmake-bringup/; revision=48762
2010-09-12 21:02:18 +00:00
Amine Khaldi
aec35b5416 [CMAKE]
- libcntpr needs buildno.h

svn path=/branches/cmake-bringup/; revision=48671
2010-08-31 21:24:12 +00:00
Amine Khaldi
def27fd0d4 [CMAKE]
- Improve rossym lib.

svn path=/branches/cmake-bringup/; revision=48658
2010-08-30 14:30:09 +00:00
Amine Khaldi
5ba1569888 [CMAKE]
- Improve pseh.

svn path=/branches/cmake-bringup/; revision=48656
2010-08-30 13:00:41 +00:00
Amine Khaldi
8719ae188a [CMAKE]
- Improve rtl.

svn path=/branches/cmake-bringup/; revision=48655
2010-08-30 12:37:44 +00:00
Amine Khaldi
1e684c2d24 [CMAKE]
- Add samsrv, sccbase, schannel, sensapi, serialui, shdoclc, shfolder, shlwapi, slbcsp, smdll, sndblst, snmpapi, spoolss, srclient, sxs, t2embed, tapi32, tapiui, traffic, updspapi, url, usp10 and uxtheme to build.
- Add mlang, mpr, and shell32 import libs.
- Fix shdoclc and shlwapi translations (patches will be sent upstream).
- Improve mmebuddy.

svn path=/branches/cmake-bringup/; revision=48644
2010-08-29 14:13:38 +00:00
Amine Khaldi
a999e307d8 [CMAKE]
- Rewrite crt and libcntpr targets, with support for other than i386.
- Bring-in logf.c from trunk.

svn path=/branches/cmake-bringup/; revision=48643
2010-08-29 11:07:31 +00:00
Amine Khaldi
5ff40b3f5c [CMAKE]
- Fix adns lib.

svn path=/branches/cmake-bringup/; revision=48598
2010-08-22 23:46:10 +00:00
Amine Khaldi
5644c2c39d [CMAKE]
- Now that we have c++ flags set globally, no need to mention them on the respective targets.
- debug.h : leftover from the kernel32 sync.

svn path=/branches/cmake-bringup/; revision=48543
2010-08-14 10:47:57 +00:00
Amine Khaldi
82edce4255 [CMAKE]
- Link mingw_common to kernel32 and ntdll.
- Fix mingw_wmain.
- Improve the paths use.

svn path=/branches/cmake-bringup/; revision=48542
2010-08-14 10:44:46 +00:00
Amine Khaldi
e79e797ecc [CMAKE]
- Sync the recent crt changes from trunk.
- Improve crt build.

svn path=/branches/cmake-bringup/; revision=48541
2010-08-14 10:41:24 +00:00
Amine Khaldi
4fecfbd2b9 [CMAKE]
- Don't include debug.c in libwine.

svn path=/branches/cmake-bringup/; revision=48538
2010-08-14 10:11:52 +00:00
Amine Khaldi
7c99b62e1f [CMAKE]
- Move generated precompiled headers to binary folders.
- Enable auto image base for ntdll.
- Update the location of generated PCH files for rtl, ntdll and crt.

svn path=/branches/cmake-bringup/; revision=48459
2010-08-04 19:10:43 +00:00
Amine Khaldi
ba7d98adba [CMAKE]
- Fix precompiled header support (the pch cleanup phase).
- Improve its use in crt.

svn path=/branches/cmake-bringup/; revision=48452
2010-08-04 10:38:17 +00:00
Sir Richard
d928872abe [CMAKE]: Add support for precompiled headers (this was not fun).
[CMAKE]: Use them in RTL and CRT. Someone needs to add them to the other makefiles.

svn path=/branches/cmake-bringup/; revision=48447
2010-08-04 06:41:07 +00:00
Amine Khaldi
53edf4d8fa [CMAKE]
- Formatting. No code change.

svn path=/branches/cmake-bringup/; revision=48444
2010-08-03 21:58:41 +00:00
Amine Khaldi
fb995372b0 [CMAKE]
- Fix ntdllsys and win32ksys.

svn path=/branches/cmake-bringup/; revision=48443
2010-08-03 21:57:06 +00:00
Amine Khaldi
34db564f0a [CMAKE]
- Improve header inclusions.

svn path=/branches/cmake-bringup/; revision=48442
2010-08-03 21:55:42 +00:00
Sir Richard
1bd315d9e1 [CMAKE]: Fix CRT.
svn path=/branches/cmake-bringup/; revision=48438
2010-08-03 21:38:39 +00:00
Sir Richard
734491e01c [CMAKE]: Forgot to delete this guy.
svn path=/branches/cmake-bringup/; revision=48431
2010-08-03 16:06:10 +00:00
Sir Richard
3fff31cd81 [CMAKE]: Start working on ntdll.
svn path=/branches/cmake-bringup/; revision=48430
2010-08-03 16:05:53 +00:00
Sir Richard
f0a4bf29e6 [CMAKE]: Simplify more makefiles.
svn path=/branches/cmake-bringup/; revision=48429
2010-08-03 14:56:22 +00:00
Sir Richard
0436f84653 [CMAKE]: Simplify makefiles.
svn path=/branches/cmake-bringup/; revision=48428
2010-08-03 14:54:19 +00:00
Sir Richard
044e663dad [RTL]: Rtl ByteSwap functions should use intrinsics, isntead of assembly code. This should be merged into trunk!
svn path=/branches/cmake-bringup/; revision=48425
2010-08-03 01:56:35 +00:00
Amine Khaldi
6bdc331638 [CMAKE]
- mingw_common : set_property -> set_target_properties.
- crt : fix target properties.

svn path=/branches/cmake-bringup/; revision=48357
2010-07-29 15:52:00 +00:00
Amine Khaldi
102a9c242e [CMAKE]
- Export more native tools.
- Fix ntdllsys dependency.

svn path=/branches/cmake-bringup/; revision=48356
2010-07-29 15:34:21 +00:00
Amine Khaldi
007ecbd4c1 [CMAKE]
- Add debugsup lib to build.

svn path=/branches/cmake-bringup/; revision=48348
2010-07-29 01:53:31 +00:00
Amine Khaldi
a1fc7877ea [CMAKE]
- Add libcntpr lib to build.

svn path=/branches/cmake-bringup/; revision=48347
2010-07-29 01:37:53 +00:00
Amine Khaldi
666ab7d918 [CMAKE]
- We do have oldnames lib now.
- Add proper psdk dependency for libxml2.

svn path=/branches/cmake-bringup/; revision=48336
2010-07-28 22:01:07 +00:00
Amine Khaldi
e7c36f373f [CMAKE]
- Add mingw libs to build.

svn path=/branches/cmake-bringup/; revision=48335
2010-07-28 21:52:04 +00:00
Amine Khaldi
42fd01caf3 [CMAKE]
- Add sound drivers libs to build.

svn path=/branches/cmake-bringup/; revision=48332
2010-07-28 16:24:00 +00:00
Amine Khaldi
9b289c4a25 [CMAKE]
- Add ip and oskittcp to build.

svn path=/branches/cmake-bringup/; revision=48331
2010-07-28 14:59:02 +00:00
Amine Khaldi
0d72b49f46 [CMAKE]
- We won't be using mkdir to create folders since cmake has a command for it.
- Split nci generated files into separate targets, so that modules can depend on each one of them separately if needed.
- Add win32ksys to build.

svn path=/branches/cmake-bringup/; revision=48329
2010-07-28 12:58:37 +00:00
Amine Khaldi
0de1055529 [CMAKE]
- Add ntdllsys to build.

svn path=/branches/cmake-bringup/; revision=48326
2010-07-28 10:35:37 +00:00
Amine Khaldi
4455372650 [CMAKE]
- Add pseh to build.

svn path=/branches/cmake-bringup/; revision=48320
2010-07-28 00:08:02 +00:00
Amine Khaldi
917e248cc6 [CMAKE]
- Add rtl to build.

svn path=/branches/cmake-bringup/; revision=48319
2010-07-27 23:55:52 +00:00
Sir Richard
bba1ffd927 [CMAKE]: Watch and learn, Amine...
svn path=/branches/cmake-bringup/; revision=48311
2010-07-27 16:07:39 +00:00
Sir Richard
6a78adc872 [CMAKE]: Too much of bzip2 was being built.
svn path=/branches/cmake-bringup/; revision=48310
2010-07-27 16:03:05 +00:00
Amine Khaldi
94fd5aceb2 [CMAKE]
- Add ext2lib, ntfslib, vfatlib and vfatxlib to build.

svn path=/branches/cmake-bringup/; revision=48304
2010-07-27 13:09:55 +00:00
Amine Khaldi
e16d438002 [CMAKE]
- Add proper dependencies on psdk.
- Parallel build works now.

svn path=/branches/cmake-bringup/; revision=48303
2010-07-27 12:53:24 +00:00
Amine Khaldi
a633674741 [CMAKE]
- cmlib depends on bugcodes.

svn path=/branches/cmake-bringup/; revision=48302
2010-07-27 11:12:09 +00:00
Amine Khaldi
05b70f3ba2 [CMAKE]
- Add idna, normalize and scripts to build.

svn path=/branches/cmake-bringup/; revision=48301
2010-07-27 11:01:39 +00:00
Amine Khaldi
1e82e45439 [CMAKE]
- Separate the resources creation into several targets. With this we're able to set proper dependencies on them selectively, and not as a whole.
- Make chew and csq, as a result, depend only on bugcodes.

svn path=/branches/cmake-bringup/; revision=48297
2010-07-27 01:36:55 +00:00
Amine Khaldi
401329a84b [CMAKE]
- Add rsym to build.
- Add fslib, nls and pseh placeholders.
- Make crt depend on psdk interfaces.

svn path=/branches/cmake-bringup/; revision=48296
2010-07-27 01:32:49 +00:00
Amine Khaldi
1bdc83e770 [CMAKE]
- No need to check these drivers for CMAKE_CROSSCOMPILING.

svn path=/branches/cmake-bringup/; revision=48295
2010-07-27 00:51:21 +00:00
Amine Khaldi
486a2d0e81 [CMAKE]
- Add chew and csq to build.

svn path=/branches/cmake-bringup/; revision=48285
2010-07-26 18:49:24 +00:00
Ziliang Guo
147875c573 [CMAKE]
-Use hinting in freetype now that patent has expired.

svn path=/branches/cmake-bringup/; revision=48284
2010-07-26 18:21:09 +00:00
Amine Khaldi
4df268ef33 - Fix freetype.
svn path=/branches/cmake-bringup/; revision=48283
2010-07-26 18:09:20 +00:00
Ziliang Guo
ac666a6d0a [CMAKE]
-Add freetype to build.

svn path=/branches/cmake-bringup/; revision=48282
2010-07-26 17:59:46 +00:00
Amine Khaldi
f65e75e216 [CMAKE]
- Add icu4ros to build.

svn path=/branches/cmake-bringup/; revision=48281
2010-07-26 16:39:47 +00:00
Sir Richard
8efcb1c052 [CMAKE]: Add almost all the 3rdparty libs. The remaining ones are more annoying and will require more handwriting. I'm letting someone else write those out.
svn path=/branches/cmake-bringup/; revision=48270
2010-07-26 00:38:25 +00:00
Sir Richard
8235c4622d [CMAKE]: Build all the remaining host tools/libraries (I think).
[CMAKE]: Fix definitions for some libraries.
[CMAKE]: Build host tools with appropriate flags.

svn path=/branches/cmake-bringup/; revision=48268
2010-07-25 23:54:32 +00:00
Sir Richard
02b1c8a4e2 [CMAKE]: Add wmc to host tools, and export it as native-wmc.
[CMAKE]: Add a makelist to build the mc->headers as one target.
[CMAKE]: Fix the IDL rule to build all IDLs as one target.
[CMAKE]: Build a whole lot more libraries.

svn path=/branches/cmake-bringup/; revision=48267
2010-07-25 23:05:32 +00:00
Sir Richard
4a961b42be [CMAKE]: Build more stuff.
svn path=/branches/cmake-bringup/; revision=48264
2010-07-25 21:24:00 +00:00
Sir Richard
3b4b183c21 [CMAKE]: CRT can now be built! Our first cross-compile target.
[CMAKE]: Next steps should be to bring all the compiler settings/defines that aren't yet being used, to add per-architecture file tracking, and to enable precompiled header support.

svn path=/branches/cmake-bringup/; revision=48262
2010-07-25 20:28:17 +00:00
Sir Richard
d51dc0e932 [CMAKE]: Start supporting building the CRT.
svn path=/branches/cmake-bringup/; revision=48258
2010-07-25 19:18:15 +00:00
Sir Richard
50c679fa37 [CMAKE]: Add make lists for the core host tools/libraries, and add a command to generate the build.h header. There's little fixes needed here and there, but this should be a good template for people to see how easy CMake is. This will build all the wine tools/libraries, nci, gendib, rsym, etc...
svn path=/branches/cmake-bringup/; revision=48244
2010-07-25 05:53:51 +00:00
Amine Khaldi
62ff6c86b7 - Delete rbuild and the rbuild files.
svn path=/branches/cmake-bringup/; revision=48237
2010-07-24 19:21:04 +00:00
Amine Khaldi
c424146e2c Create a branch for cmake bringup.
svn path=/branches/cmake-bringup/; revision=48236
2010-07-24 18:52:44 +00:00