summaryrefslogtreecommitdiff
path: root/src/inc/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2015-09-09Address code coverage builds feedbackSridhar Periyasamy1-0/+2
- Move the build type check to unix only. - Remove the global fPIC compiler option and add it as compile flags for libcorguids @ src/inc/CMakeLists.txt - Use add_compiler_options instead of add_definitions.
2015-05-05GcInfo: Add support for Standalone buildSwaroop Sridhar1-0/+2
The STANDALONE_BUILD switch can be used to build the GcInfoEncoder library independently by clients outside the CoreClr tree. The GcInfo library uses some custom data-structures (ex: ArrayList) and includes some utility libraries (ex: UtilCode) which pull in several other headers with considerable unrelated content. Rather than porting all the utility code to suite other clients, the STANDALONE_BUILD switch can be used to include only the minimal set of headers specific to GcInfo encodings. Clients of STANDALONE_BUILD will likely use standard library implementations of data-structures like ArrayList, HashMap etc., in place of the custom implementation currently used by GcInfoEncoder. Rather than spew the GcInfoEnoder code with #ifdef STANDALONE_BUILD ... #else .. #endif blocks, we include a special header GcInfoUtil.h in STANDALONE_BUILD mode. GcInfoUtil.h is expected to supply the interface/implementation for the data-structures and utilities used by GcInfoEncoder. This header should be provided by the clients doing the standalone build in their source tree.
2015-04-01Fix next round of warning typesJan Vorlicek1-0/+5
This change fixes the following warnings: 1) Assignment in a condition should be wrapped in () 2) Priority of && / || should be indicated by parentheses. 3) Unknown #pragma optimize ifdefed out for non MSVC 4) Unused functions deleted or put under #ifdef 5) Extra tokens warning disabling moved to the CMakeLists.txt in the src/inc 6) Self assignment of a member or local variable 7) Assigning ~0 to a bitfield member that was just 8 bit wide It also fixes a bug in the STRESS_LOGxx macro invocation in exceptionhandling.cpp and stackwalk.cpp related to recent adding the DBG_ADDR macro usage. This macro expanded a single parameter into two expressions to extract high / low 32 bits separately. But the STRESS_LOGxx parameters are passed to the StressLog::LogMsg method as follows: (void*)(size_t)(data1) That means that the expanded pair x, y would be inserted as data 1 and that leads to ignoring the x due to the comma operator.
2015-03-25Add additional headers to the CoreCLR package to describe its interface.rhadley1-1/+7
Adds headers: - opcode.def and openum.h to describe the MSIL opcodes.
2015-02-09Add new nuget package for development usageMatt Mitchell1-0/+4
Add new nuget package that can be developed against. Also modify the cmake lists of a few directories to add in missing PDBs.
2015-02-07Use list(APPEND) rather than set(var ${var} ...) in CMakeBen Boeckel1-2/+2
This avoids a variable expansion and avoids the chances of a typo being introduced in variable names.
2015-02-07Use foreach(IN LISTS) syntax in CMake codeBen Boeckel1-2/+2
It avoids extra separation on semicolons if there are any and skips a variable expansion.
2015-02-07Remove excess arguments to endfunction() and else()Ben Boeckel1-1/+1
Arguments to else() are always confusing and endfunction only needs to match the first argument.
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot1-0/+62
[tfs-changeset: 1407945]