Commit graph

385 commits

Author SHA1 Message Date
Amine Khaldi 08a0346e9f [SDK] One step further towards ReactOS source code tree restructure: the sdk folder that groups includes, libraries and tools. CORE-9111
svn path=/trunk/; revision=71184
2016-04-20 12:36:25 +00:00
Timo Kreuzer 92100df1fc [CMAKE/MSVC] Enable function level linking and comdat folding independent from build type. This reduces freeldr size and allows to build with /RTC1 again. Since GCC doesn't support function level linking, cmlib should be refactored by moving some functions into different source files to avoid linking unused code into freeldr.
svn path=/trunk/; revision=71066
2016-03-28 16:38:26 +00:00
Amine Khaldi d7073f8614 [CMAKE/MSVC] It makes sense nowadays to enable the folder structure by default. Old express editions users, please disable it locally ;)
svn path=/trunk/; revision=70163
2015-11-27 21:46:54 +00:00
Amine Khaldi d7bf1738d4 [CMAKE] Properly pass arguments to the host tools phase. Fixes MSVC x64 build.
svn path=/trunk/; revision=69836
2015-11-07 17:35:27 +00:00
Amine Khaldi 91ac799605 [CMAKE] Pass the architecture to host tools configure phase.
svn path=/trunk/; revision=69835
2015-11-07 17:18:19 +00:00
Amine Khaldi a25be55cc2 [CMAKE] Properly handle hotpatchable flags requirements in MSVC builds. CORE-10477
svn path=/trunk/; revision=69812
2015-11-04 18:06:16 +00:00
Amine Khaldi 22c6dc878b [CMAKE/GCC] Set O2 and define NDEBUG for GCC release builds.
svn path=/trunk/; revision=69740
2015-10-30 10:03:44 +00:00
Amine Khaldi a0c61c370a [CMAKE/GCC] Override the INIT flags for Debug and Release build types.
svn path=/trunk/; revision=69739
2015-10-30 09:56:57 +00:00
Thomas Faber f44a30ed3e [CMAKE]
- Reserve some more space for ntdll so that we're compatible with Windows's version (base 0x7c910000). Should fix VMware Hybrid builder

svn path=/trunk/; revision=69587
2015-10-18 07:56:27 +00:00
Stefan Ginsberg c86151ca6b Hepp didn't work
svn path=/trunk/; revision=69216
2015-09-13 11:46:15 +00:00
Stefan Ginsberg eca683dd62 Give kernel32 a little bit of extra space to see if it makes the hybrid server not crash.
svn path=/trunk/; revision=69215
2015-09-13 11:40:12 +00:00
Thomas Faber a5ec9a07aa [MSVC]
- Silence warning LNK4104 (Export of symbol 'X' should be PRIVATE) where appropriate

svn path=/trunk/; revision=69212
2015-09-13 06:22:58 +00:00
Stefan Ginsberg 656e59a392 Fix over a hundred thousand warnings by:
- Disabling C4214 (nonstandard extension used : bit field types other than int), a somewhat overzealous warning for a "nonstandard" extension we rely on all over.
- Defining inactive DPRINT and friends for MSVC using __noop (no not __nop, __noop. See  https://msdn.microsoft.com/en-us/library/s6btaxcs.aspx) to get at a whole bunch of C4127 (conditional expression is constant).
- Remove the last of the exported DriverEntry from dxg and dxgthk. There is no need in anyw way to export them -- dxg exports DxDdStartupDxGraphics to Win32k for initialization purposes and dxgthk is just a forwarder. Linking to a DriverEntry is to begin with is a pretty bad idea. Say goodbye to the last of LNK4216.

svn path=/trunk/; revision=69187
2015-09-11 20:18:12 +00:00
Alex Ionescu 28b4a595d3 [EFI]
- Add BCD creation.
- Add BCD to bootcd, and also to EFISYS.BIN. Verified the BCD is now present on the EFI partition.

svn path=/trunk/; revision=69156
2015-09-09 18:43:09 +00:00
David Quintana 2f3a69e66f [FATTEN]
* Fix folder creation and external file access.
* Add fatten as a host-tool.
* Add a target for creating efisys.bin from the bootmgfw
TODO: Make the name of the boot*.efi depend on the platform (ia32/x64/arm).
TODO: Add efisys as a dependency to the bootcd, when we need to make use of the efisys.bin file for the iso (waiting for hbelusca's cdmake work).

svn path=/trunk/; revision=69109
2015-09-08 03:37:47 +00:00
Thomas Faber 4f3a4a5c04 [CMAKE]
- Fix more missing dependencies on xdk
CORE-9586

svn path=/trunk/; revision=69086
2015-09-07 10:05:42 +00:00
Amine Khaldi 002f279f26 [CMAKE] Add hpp in the new style build.
svn path=/trunk/; revision=69085
2015-09-07 10:00:51 +00:00
Amine Khaldi 8f3fc52eb3 [CMAKE] Introduce a way to compile ReactOS without invoking CMake twice. You can enable it by running configure with -DNEW_STYLE_BUILD=1. Once the transition goes smoothly we can enable this by default. CORE-10121
svn path=/trunk/; revision=69060
2015-09-06 16:44:30 +00:00
Amine Khaldi 141f412d0f [CMAKE/MSVC] C4200 doesn't look useful to us.
svn path=/trunk/; revision=69036
2015-09-05 17:46:04 +00:00
Amine Khaldi fa77c8bd71 [CMAKE/MSVC] Temporarily disable C4018 until we fix more of the others. CORE-10113
svn path=/trunk/; revision=69034
2015-09-05 17:31:51 +00:00
Amine Khaldi 17228d9d3e [CMAKE] Introduce a way to use auto generation using bison and flex. Dedicated to Eric Kohl. CORE-10055
svn path=/trunk/; revision=68840
2015-08-27 23:00:49 +00:00
Amine Khaldi 6c6dae8b30 [CMAKE] Add and use baseaddress_msvc.cmake.
svn path=/trunk/; revision=68839
2015-08-27 22:35:06 +00:00
Amine Khaldi a9a2119c0c [CMAKE] Update baseaddress.cmake.
svn path=/trunk/; revision=68838
2015-08-27 22:33:07 +00:00
Eric Kohl c332df16c6 [WLNOTIFY]
Add the winlogon notification dll.
Right now it exports only test functions for the winlogon notifications.

svn path=/trunk/; revision=68722
2015-08-16 19:11:21 +00:00
Thomas Faber 9ff8d69957 [CMAKE]
- Remove hackfix for VLC player, relocating wsock32.dll works fine now. Reverts r61898.
CORE-8384 #resolve

svn path=/trunk/; revision=68679
2015-08-11 09:02:25 +00:00
Christoph von Wittich edd56f01c6 [FUSION] Use different base addresses for the fusion dlls to prevent relocations. Brought to you by Amine! CORE-9992
svn path=/trunk/; revision=68647
2015-08-09 09:27:30 +00:00
Amine Khaldi f8effe197f [CMAKE] Use a separate set for the optimization level in GCC release builds. We should revisit this to see if we need this rbuild era block nowadays.
svn path=/trunk/; revision=68154
2015-06-15 18:59:46 +00:00
Amine Khaldi ef6a028073 [CMAKE] Disable treating warnings as errors in GCC release builds, at least until we get everything under control, for example CORE-7885.
svn path=/trunk/; revision=68153
2015-06-15 18:48:38 +00:00
Amine Khaldi 7a3b665ba3 [CMAKE] Add some FIXMEs so these won't be forgotten.
svn path=/trunk/; revision=68150
2015-06-15 17:45:24 +00:00
Amine Khaldi 2d7fe93b09 [CMAKE] Disable debug sections compression in GCC release builds.
svn path=/trunk/; revision=68149
2015-06-15 17:35:29 +00:00
Amine Khaldi 983d1bf043 [CMAKE] Disable debugging related GCC flags in release mode.
svn path=/trunk/; revision=68148
2015-06-15 17:26:04 +00:00
Amine Khaldi 74c80a51dd [CMAKE] Disable rossym for GCC release builds.
svn path=/trunk/; revision=68147
2015-06-15 16:43:11 +00:00
Amine Khaldi 1b969c0a85 [CMAKE] Introduce add_rc_deps() to take care of adding OBJECT_DEPENDS to rc source files. CORE-9806
svn path=/trunk/; revision=68117
2015-06-13 11:05:03 +00:00
Amine Khaldi 64f488b5d7 [CMAKE] Do not treat C4189 as an error when compiling with VS 2010, or when in release mode.
svn path=/trunk/; revision=67941
2015-05-28 12:19:24 +00:00
Amine Khaldi 9196ea556e [CMAKE] Do not treat C4189 as an error in Release builds.
svn path=/trunk/; revision=67864
2015-05-23 12:24:57 +00:00
Amine Khaldi 0aeb9104ed [CMAKE] Update rsym location.
svn path=/trunk/; revision=67863
2015-05-23 12:10:20 +00:00
Amine Khaldi 233d650aa0 [CMAKE] Fix and improve the Release build type of the MSVC builds.
svn path=/trunk/; revision=67861
2015-05-23 10:34:25 +00:00
Amine Khaldi dcf26d6a7f [CMAKE] Don't set initial flags for Release build type, let us handle them ourselves.
svn path=/trunk/; revision=67860
2015-05-23 10:32:43 +00:00
Amine Khaldi 41b8d0a78c [CMAKE] Add a minimum major/minor subsystem version number for ARM. Dedicated to Timo.
svn path=/trunk/; revision=67706
2015-05-13 12:12:20 +00:00
Amine Khaldi abebbac08d [CMAKE] The /SUBSYSTEM flag takes uppercase parameters.
svn path=/trunk/; revision=67689
2015-05-12 12:18:02 +00:00
Amine Khaldi 7af59d2927 [CMAKE] Take into account the build type when referencing rsym.
svn path=/trunk/; revision=67688
2015-05-12 12:11:50 +00:00
Amine Khaldi a4e41cab78 [CMAKE] Update rsym location in the GCC build.
svn path=/trunk/; revision=67687
2015-05-12 11:40:07 +00:00
Amine Khaldi cec93846d6 [CMAKE] Set the /MP flag for MSVC_IDE globally.
svn path=/trunk/; revision=67686
2015-05-12 11:38:32 +00:00
Thomas Faber d0fb55f564 [CMAKE]
- Enable C4189 (local variable initialized but not referenced) on MSVC builds and make it an error.
CORE-9676 #resolve

svn path=/trunk/; revision=67607
2015-05-09 22:44:52 +00:00
David Quintana 3933ca6bce This commit brings support for compiling ReactOS with Visual Studio 2015 RC (and possibly the final release).
[BUILD]
msvc.cmake: Disable thread-local static initialization.
CMakeLists.txt: Disable PCH for VS2015.
configure.cmd: Make it aware of cl.exe version 19.x

[CPPRT]
Add alias for the new variants of the delete operators.

[BROWSEUI]
[MFIFS]
[FRAMEDYN]
[NDIS]
[DDK]
[PSDK]
[STLPORT]
Add explicit declarations of the new delete operators for those modules that don't use the WITH_RUNTIME option.

[WIDL]
[WPP]
Do not alias the snprintf family of functions to the _snprintf variants, since VS14 already declares them internally.

svn path=/trunk/; revision=67483
2015-04-30 21:48:26 +00:00
Hermès Bélusca-Maïto b4ebdb1ae9 [REACTOS]: Add a "testdata" subdirectory in %SystemRoot%\bin\ where you can put all needed extra files for the tests. In addition, all the files present in your rostests\testdata local directory of your working copy are also copied into %SystemRoot%\bin\testdata .
svn path=/trunk/; revision=67442
2015-04-26 17:47:55 +00:00
Thomas Faber f5a19bfe31 [CMAKE]
We have a zero-warnings policy in trunk, accordingly:
- Disable overflow warnings in mciwave
- Remove all -Wno-error directives
- Remove all allow_warnings invocations
- Make allow_warnings defunct, it needs to be reworked, e.g. according to CORE-6959.

svn path=/trunk/; revision=67291
2015-04-19 08:39:58 +00:00
Amine Khaldi 9dcda7a0a1 [CMAKE/MSVC] x64 compilation is always treated as if /hotpatch has been specified. CORE-7959
svn path=/trunk/; revision=67150
2015-04-11 09:34:40 +00:00
Timo Kreuzer 7ee7d29258 [CMAKE]
Use native OS tools for concatenating files. Remove cat from host tools.

svn path=/trunk/; revision=66989
2015-03-30 22:31:43 +00:00
Timo Kreuzer 04cbcf8063 [CMAKE/BOOTDATA]
Implement support for decentralized registry inf files.
This is done with the new add_registry_inf() cmake function, which takes one or more inf files, which are then converted to UTF-16 and merged into a single registry.inf, which is then used to create the livecd hives and imported by usetup. Move the registry entries for some drivers out of hivesys.inf into separate files next to the driver.

svn path=/trunk/; revision=66952
2015-03-29 11:38:05 +00:00