Commit graph

45365 commits

Author SHA1 Message Date
Timo Kreuzer
9cc4f5ceee [CMAKE]
Don't automatically add stub files to the sources, instead add them manually where neccessary. also fix a number of spec files to resemble actual state of implementation.

svn path=/branches/cmake-bringup/; revision=50574
2011-01-31 14:20:53 +00:00
Timo Kreuzer
ea3b37d0f8 [UUID]
Define _MIDL_USE_GUIDDEF_, this causes __decspec(selectany) to be used on the iids. This way we don't need any linker flags to silence warnings and it also fixes errors when linking later.

svn path=/branches/cmake-bringup/; revision=50573
2011-01-30 22:10:55 +00:00
Timo Kreuzer
1b18ef5578 [UUID]
Fix build with MSVC. We ignore warnings about duplicated symbols. MS uuid also contains them.

svn path=/branches/cmake-bringup/; revision=50572
2011-01-30 20:05:05 +00:00
Amine Khaldi
c2e1cbdff3 [ROSSYM]
- Properly handle images without debug symbols.

svn path=/branches/cmake-bringup/; revision=50571
2011-01-30 16:43:08 +00:00
Timo Kreuzer
96abfd1223 [UUID]
The old uuid library was one file containing all the uuids, generated from the psdk headers, which results in all GUIDs being linked, as soon as a single one is used. Also while widl creates DEFINE_GUID() entries in the header files, midl only creates "extern GUID", so this didn't work on MSVC. The new version uses iid files generated from the idl files and some extra C files. This works with both midl and widl, reduces overhead when linking uuids and is much closer to MS uuid lib.

svn path=/branches/cmake-bringup/; revision=50569
2011-01-30 14:09:38 +00:00
Timo Kreuzer
ff4324fb98 [CMAKE]
Fix compilation of actxprxy with MSVC

svn path=/branches/cmake-bringup/; revision=50563
2011-01-29 18:16:46 +00:00
Timo Kreuzer
4d2d6956d3 [CMAKE]
Link ole32 to iidlib. Fixes compilation on MSVC

svn path=/branches/cmake-bringup/; revision=50562
2011-01-29 17:58:43 +00:00
Timo Kreuzer
04e691ee90 [UUID]
Remove duplicate iids

svn path=/branches/cmake-bringup/; revision=50561
2011-01-29 17:58:06 +00:00
Timo Kreuzer
cdf564ef64 [CMAKE]
Add iidlib, a library containing all iids from the idl files

svn path=/branches/cmake-bringup/; revision=50560
2011-01-29 17:57:34 +00:00
Timo Kreuzer
1b389a39f8 [CMAKE]
- Add a macro add_iid_library to generate a static lib containing iids
- Fix get_includes and get_defines

svn path=/branches/cmake-bringup/; revision=50559
2011-01-29 17:45:45 +00:00
Timo Kreuzer
e33bf5e8ba [CLASSPNP]
Fix build with MSVC

svn path=/branches/cmake-bringup/; revision=50558
2011-01-29 15:12:40 +00:00
Timo Kreuzer
2ea20c66b6 [FRAMEBUF_NEW]
Fix build with MSVC

svn path=/branches/cmake-bringup/; revision=50557
2011-01-29 15:02:53 +00:00
Timo Kreuzer
a042b23093 [VGA_NEW]
Fix build with msvc

svn path=/branches/cmake-bringup/; revision=50556
2011-01-29 14:57:40 +00:00
Timo Kreuzer
e3d0802c23 [PSDK]
Fix include of windows.h from rpc.h

svn path=/branches/cmake-bringup/; revision=50554
2011-01-29 14:41:18 +00:00
Timo Kreuzer
48a509e1d2 [CMAKE]
Ignore MSVC standard includes

svn path=/branches/cmake-bringup/; revision=50549
2011-01-29 10:29:42 +00:00
Timo Kreuzer
ca495a84b1 [IP]
Convert checksum.S to new ML compatible syntax. Resulting obj was compared and is identical to trunk (both GAS and ML)

svn path=/branches/cmake-bringup/; revision=50545
2011-01-28 20:35:22 +00:00
Timo Kreuzer
56a3daafd4 [PSDK]
Fix inline definition of STRSAFEAPI for MSVC

svn path=/branches/cmake-bringup/; revision=50541
2011-01-28 19:41:28 +00:00
Timo Kreuzer
0f56e5955a [CMAKE]
Set linker language for win32ksys to C. Fixes MSVC compilation

svn path=/branches/cmake-bringup/; revision=50540
2011-01-28 19:37:22 +00:00
Timo Kreuzer
14a2a83fa2 [CMAKE]
Remove module name from ntoskrnl add_importlib_target

svn path=/branches/cmake-bringup/; revision=50539
2011-01-28 18:16:48 +00:00
Timo Kreuzer
066102156e [HID]
Fix spec file. All of the functions are present, either stubbed or implemented.

svn path=/branches/cmake-bringup/; revision=50538
2011-01-28 18:13:54 +00:00
Timo Kreuzer
2d96eac29f [CRT]
add a single prototype, instead of including math.h

svn path=/branches/cmake-bringup/; revision=50537
2011-01-28 17:44:30 +00:00
Timo Kreuzer
09d50a5784 [CMAKE]
- Preserve case of symbols when assembling (this is not default)
- link to msvcsup

svn path=/branches/cmake-bringup/; revision=50536
2011-01-28 17:40:36 +00:00
Sylvain Petreolle
cac01ad6eb [CMAKE]
Fix crt/bootcdregtest regression, due to _USER32_WSPRINTF.
add_definitions does not apply to target, but current directory.

svn path=/branches/cmake-bringup/; revision=50535
2011-01-28 13:41:55 +00:00
Amine Khaldi
79d8b4cf40 [CMAKE]
- Share freeldr_arch as a static lib between freeldr and setupldr.
- Some formatting fixes.

svn path=/branches/cmake-bringup/; revision=50534
2011-01-28 11:40:45 +00:00
Amine Khaldi
14c01bd73c [CMAKE]
- Properly handle setting the suffix variable. Fixes import libs creation.

svn path=/branches/cmake-bringup/; revision=50533
2011-01-28 11:25:24 +00:00
Amine Khaldi
818d876f00 [CMAKE]
- The suffix variable already holds a dot, don't add another one. Fixes import libs generation.

svn path=/branches/cmake-bringup/; revision=50525
2011-01-28 09:31:54 +00:00
Timo Kreuzer
8c4b892bea [undocuser.h]
Add nreline at the end of the file. MSVC is very picky about that.

svn path=/branches/cmake-bringup/; revision=50523
2011-01-27 23:45:40 +00:00
Timo Kreuzer
d57a12e96a [RTL]
_Interlocked(Compare)ExchangePointer is an intrinsic that doesn't exist on x86, use portable version.

svn path=/branches/cmake-bringup/; revision=50522
2011-01-27 23:03:01 +00:00
Timo Kreuzer
0af4984309 [CMAKE]
Remove dll name from add_importlib_target macro

svn path=/branches/cmake-bringup/; revision=50520
2011-01-27 21:57:54 +00:00
Timo Kreuzer
39ec3cff8c [CMAKE]
get the library suffix from the target instead of passing it to the macro.

svn path=/branches/cmake-bringup/; revision=50519
2011-01-27 21:50:54 +00:00
Timo Kreuzer
168ca7cab8 [CMAKE]
Use spec file for getuname importlib

svn path=/branches/cmake-bringup/; revision=50518
2011-01-27 21:48:44 +00:00
Timo Kreuzer
62ff363e37 [UUID]
Add IID_IWineD3DDeviceParent for MSVC

svn path=/branches/cmake-bringup/; revision=50515
2011-01-27 16:18:47 +00:00
Timo Kreuzer
fe46ef7daa [CMAKE]
Compile a dummy rossym library on MSVC

svn path=/branches/cmake-bringup/; revision=50514
2011-01-27 16:17:25 +00:00
Timo Kreuzer
e92a8c0a72 [CRT]
Fix some warnings

svn path=/branches/cmake-bringup/; revision=50513
2011-01-27 13:45:06 +00:00
Timo Kreuzer
676e232576 [CMAKE]
ML64 compatibility fixes for amd64 assembly

svn path=/branches/cmake-bringup/; revision=50512
2011-01-27 13:37:21 +00:00
Timo Kreuzer
4814cb8ca6 [EXPLORER_NEW]
Fix syntax

svn path=/branches/cmake-bringup/; revision=50509
2011-01-27 10:47:55 +00:00
Timo Kreuzer
ef0127add2 [WORDPAD]
Fix chinese resource file

svn path=/branches/cmake-bringup/; revision=50508
2011-01-27 10:44:08 +00:00
Timo Kreuzer
8b1927d888 [PING]
Fix resource syntax for MSVC and recent versions of the gcc preprocessor.

svn path=/branches/cmake-bringup/; revision=50507
2011-01-27 10:42:06 +00:00
Timo Kreuzer
8191f95396 [CMAKE]
- Sync with trunk 50501
- fix a couple of merge artifacts (indentation)

svn path=/branches/cmake-bringup/; revision=50505
2011-01-26 23:24:08 +00:00
Sylvain Petreolle
e2b7eacdd5 [CMAKE]
Sync trunk up to r50477.

svn path=/branches/cmake-bringup/; revision=50504
2011-01-26 22:19:12 +00:00
Timo Kreuzer
7ad2ae7720 [FREELDR]
Fix compilation on MSVC

svn path=/branches/cmake-bringup/; revision=50496
2011-01-25 22:23:10 +00:00
Timo Kreuzer
81995bfd2e [CRT]
Fix copy pasta. Spotted by rs on irc.

svn path=/branches/cmake-bringup/; revision=50495
2011-01-25 20:56:14 +00:00
Timo Kreuzer
0fab7e8671 [CRT]
On MSVC mark abs, labs and strcmp as intrinsics (needed when compiling with /O2+) and disable a warning that they are not intrinsics (when compiled with /O1)

svn path=/branches/cmake-bringup/; revision=50494
2011-01-25 20:48:56 +00:00
Timo Kreuzer
6b8ea6b64e [CMAKE]
Link smss to msvcsup on MSVC builds


svn path=/branches/cmake-bringup/; revision=50493
2011-01-25 19:19:02 +00:00
Timo Kreuzer
f9870b513e [PSDK]
Include pseh.h not only for gcc

svn path=/branches/cmake-bringup/; revision=50492
2011-01-25 18:58:21 +00:00
Timo Kreuzer
5a73dc4e58 [RTL]
Add InterlockedBitTestAndSet* defines

svn path=/branches/cmake-bringup/; revision=50491
2011-01-25 18:48:26 +00:00
Timo Kreuzer
67e321c158 [CMAKE]
- Fix mc command
- temporary disable optimization settings to prevent warning

svn path=/branches/cmake-bringup/; revision=50490
2011-01-25 18:09:29 +00:00
Timo Kreuzer
14bde089ab [CMAKE]
Don't include resources twice in findstr, remove rbuild file

svn path=/branches/cmake-bringup/; revision=50489
2011-01-25 17:00:43 +00:00
Timo Kreuzer
f4dd5fd0c6 [CMAKE]
msc.cmake: fix spec2def invocation, add pseh library, remove set_export_spec

svn path=/branches/cmake-bringup/; revision=50488
2011-01-25 16:31:04 +00:00
Timo Kreuzer
45cb5eb141 [CMAKE]
On MSVC builds, compile native SEH support into PSEH library.
This should be part of the crt, but our crt is too disorganized to handle that. The empty C file is for cmake to get the library right.

svn path=/branches/cmake-bringup/; revision=50486
2011-01-25 16:26:54 +00:00