Commit Graph

35 Commits (master)

Author SHA1 Message Date
Schoumi 5710e9286e fix cmake warning 2022-07-08 17:34:37 +02:00
James Crosby 821150b72f cmake_force_c_compiler deprecation was pushed to cmake 3.6 2016-04-06 13:01:58 +01:00
Steven Cooreman 31ce73920a Turn off DWARF extension of next versions to avoid tripping up IDEs 2016-04-06 13:34:53 +02:00
James Crosby 3dd151a252 Merge branch 'printfloating' of
2016-02-26 12:32:13 +00:00
James Crosby 81c549c5e9 don't use cmake_force_c_compiler from CMake 3.5 2016-02-15 10:30:30 +00:00
James Crosby 3966fa750e enable floating point printf support, unless disabled by config value 'gcc.printf-float = false' 2016-01-29 15:39:31 +00:00
James Crosby 435b799d8f Merge pull request #19 from bremoran/coverage
Add code coverage options, enabled by yotta config
2015-12-16 16:13:26 +00:00
Brendan Moran c4c4ec88bd Compile flags should be set on a per-module basis
Delete global compiler flags for coverage.
2015-12-16 07:57:58 -08:00
Brendan Moran 90c91111fa Check for truthiness instead of definedness. 2015-12-15 13:56:06 -08:00
Bogdan Marinescu 831875b1e7 Enable C++11 for GCC targets
The gnu++11 mode is used for now since some repos (notably uVisor)
depend on the GCC extensions. Once this is fixed, we should have no
problem switching to c++11.
Tested on our release repositores, and after a few changes in a couple
of repos, everything seems to compile fine.
2015-11-27 13:25:22 +02:00
Brendan Moran e4900d75b1 Add code coverage options, enabled by yotta config 2015-11-18 18:00:03 +00:00
James Crosby 808b83c161 backwards compatibility with CMake < 3.4.0 2015-10-13 13:44:14 +01:00
James Crosby 18ca1d560b <INCLUDES> needs to be explicitly listed here (for some reason everything worked OK without this with older CMake versions) 2015-10-12 16:02:31 +01:00
Martin Kojtal 5504841e8a Fix #3 - use dwarf-3
Not defining strict, which I havent got problem yet in uvision debugger.

Differences for dwarf-4 (we might lose accepting this changeset):
(taken from dwarf4)
• Add support for new C++ language constructs, including rvalue references, generalized
  constant expressions, Unicode character types and template aliases.
• Clarify and generalize support for packed arrays and structures.
• Add new line number table support to facilitate profile based compiler optimization.
• Add additional support for template parameters in instantiations.
• Add support for strongly typed enumerations in languages (such as C++) that have two
  kinds of enumeration declarations.
2015-10-07 13:57:07 +01:00
James Crosby d146e973ef remove additional space 2015-09-29 09:55:46 +01:00
Rohit Grover 21001810c8 allow for global linking of target-specific libraries 2015-09-29 08:51:15 +01:00
Brendan Moran 8272aae009 Add the generated/include output directory into mbedOS.cmake 2015-09-25 13:05:04 +01:00
James Crosby 6dc5ebc180 additional quotes 2015-08-14 16:00:58 +01:00
James Crosby f1097b5550 quote compilation tool paths incase they include spaces 2015-08-14 13:08:47 +01:00
James Crosby 120ff05dd9 clarify comment 2015-08-13 16:45:18 +01:00
James Crosby e628948023 better way of testing for -NOTFOUND; fix testing of different variables 2015-08-13 16:44:34 +01:00
James Crosby 3f3ea84bcf more friendly error messages if the compiler isn't found 2015-08-13 13:22:51 +01:00
James Crosby 1e16b6edca OBJECTS needs to be inside start-group/end-group along with LINK_LIBRARIES because the response file used for linking on windows is placed in the OBJECTS section of the command line 2015-08-12 17:20:25 +01:00
Brendan Moran c0cf6257d2 Add comment to protect library grouping in cmake files 2015-07-03 15:11:27 +01:00
Brendan Moran 86429cbdbb reorder linker command line 2015-07-03 11:12:12 +01:00
James Crosby aa1824f60b -fno-threadsafe-statics is a C++-only option 2015-06-26 16:37:42 +01:00
James Crosby 52cc8a46e8 compile with -fno-threadsafe-statics and -fno-rtti to reduce footprint 2015-06-26 14:20:46 +01:00
James Crosby 41b02ceaa9 use for newlib 2015-06-26 14:18:44 +01:00
James Crosby be67e1796d add yotta_apply_target_rules function to replace YOTTA_POSTPROCESS_COMMAND 2015-06-23 15:43:08 +01:00
James Crosby 7b6295cfe2 set YOTTA_FORCE_INCLUDE_FLAG that will be required by new yotta version 2015-06-23 15:42:27 +01:00
James Crosby 177b28a1ce get rid of YOTTA_TARGET_DEFINITIONS and use add_definitions for backwards-compat definitions instead (supports inheritance better); add MBED_LEGACY_TOOLCHAIN CMake variable for build system retrofitted to mbed2.0 modules 2015-06-22 12:32:02 +01:00
Bogdan Marinescu 7a06929898 Fixed dependency generation for ninja (take II)
This is needed for ninja to get its dependencies properly (the proper .d
files are now generated as required by ninja, so changing a header will
trigger a rebuild of the affected source files, as expected).
2015-06-08 16:21:48 +03:00
James Crosby 2cfff35ca8 output extensions need to be set in the compiler files, not the platform files 2015-06-05 14:38:13 +01:00
James Crosby 03d197dab9 remove debug messages 2015-04-28 17:49:17 +01:00
James Crosby 97376d050e initial version of base target for inheritance experiments 2015-04-28 17:46:41 +01:00