1. 28 Oct, 2019 3 commits
  2. 27 Oct, 2019 1 commit
  3. 17 Oct, 2019 1 commit
  4. 15 Oct, 2019 4 commits
  5. 12 Oct, 2019 1 commit
    • Konstantin Pyzhov's avatar
      FindOpenMP: Add support for HIP clang device pass · db5a8d78
      Konstantin Pyzhov authored
      The HIP clang makes 2 passes when compiling HIP programs: the DEVICE
      pass and the HOST pass.  For openmp, the `-fopenmp` option is only
      passed to the HOST compilation pass.  Therefore, the small test that
      CMake uses for OpenMP detection fails to compile, and CMake reports
      failure to detect OpenMP support in the compiler.  The suggested
      solution is to add check for `__HIP_DEVICE_COMPILE__` macro defined by
      HIP clang for the DEVICE pass to the OpenMP detection test.
      db5a8d78
  6. 11 Oct, 2019 7 commits
  7. 10 Oct, 2019 1 commit
  8. 09 Oct, 2019 2 commits
  9. 03 Oct, 2019 1 commit
  10. 02 Oct, 2019 2 commits
  11. 01 Oct, 2019 1 commit
    • Brad King's avatar
      VS: Fix support for v142 toolset minor versions · 51173899
      Brad King authored
      When using `-T v142,version=14.22` the `.props` file location is
      different starting with version `14.20` than it was in `14.16` and
      below.  Adapt the path based on the version.
      
      Fixes: #19779
      51173899
  12. 28 Sep, 2019 2 commits
    • Steve Wilson's avatar
      Languages: Add support for Objective-C++ · 9e66397c
      Steve Wilson authored
      
      
      Add entries in Modules and Modules/Platform to support
      Objective-C++ compiler determination and identification.
      Add Modules to check Objective-C++ compiler flags, source
      compilations, program checks, etc...
      
      Use OBJCXX as the designator of the language, eg:
      
      project(foo OBJCXX)
      
      Add various tests for Objective-C++ language features.  Add
      tests to preserve C++ handling of .M and .mm files when
      Objective-C++ is not a configured language.
      Co-authored-by: Cristian Adam's avatarCristian Adam <cristian.adam@gmail.com>
      9e66397c
    • Steve Wilson's avatar
      Languages: Add support for Objective-C · 80f120a8
      Steve Wilson authored
      
      
      Add entries in Modules and Modules/Platform to support
      Objective-C compiler determination and identification.
      Add Modules to check Objective-C compiler flags, source
      compilations, program checks, etc...
      
      Use OBJC as the designator of the language, eg:
      
      project(foo OBJC)
      
      Add various tests for Objective-C language features.  Add
      tests to preserve C++ handling of .m and .mm files when
      OBJC is not a configured language.
      Co-Authored-By: Cristian Adam's avatarCristian Adam <cristian.adam@gmail.com>
      80f120a8
  13. 27 Sep, 2019 2 commits
  14. 26 Sep, 2019 1 commit
  15. 23 Sep, 2019 2 commits
    • Alan W. Irwin's avatar
      FindThreads: Do not hard-code '-l' flag on library name · de5f123d
      Alan W. Irwin authored
      When not using the `-pthread` flag we instead return a library to link
      by name.  Previously we hard-coded the `-l` flag before the library
      name.  When used with `target_link_libraries`, the hard-coded `-l` flag
      is preserved rather than transformed into the link option preferred by
      the toolchain in use.  Drop the explicit `-l` part to let CMake's
      generators produce the proper way to link the threads library for the
      current toolchain.
      
      Fixes: #19747
      de5f123d
    • Nico Mueller's avatar
      IAR: Add v850 assembler support · 158f3795
      Nico Mueller authored
      Assembler compiler configuration for 'v850' architecture
      
      Issue: #17264
      158f3795
  16. 21 Sep, 2019 2 commits
  17. 20 Sep, 2019 1 commit
  18. 18 Sep, 2019 2 commits
  19. 17 Sep, 2019 1 commit
  20. 16 Sep, 2019 3 commits
    • Chuck Atkins's avatar
      FindPkgConfig: Allow libraries that can't be found with their full path · 28cb86d7
      Chuck Atkins authored
      pkg-config's .pc files can sometimes provide libraries that are visible to
      the linker but not present in CMake's known search paths.  In the case
      where CMake can find some, but not all of the library dependencies
      provided in a .pc file, this allows them to be passed through as "-lfoo"
      when the full path can't be found.
      
      This also removes the test failure cases that occured because of this
      scenario and adjsuts the remaining tests to account for not-found
      libraries
      28cb86d7
    • Sebastian Holtermann's avatar
      Autogen: Add moc path prefix generation (AUTOMOC_PATH_PREFIX) · d018d27c
      Sebastian Holtermann authored
      The new `AUTOMOC_PATH_PREFIX` boolean target property enables automatic
      generation of the path prefix `-p` option for `moc`.
      `AUTOMOC_PATH_PREFIX` is initialized from the variable
      `CMAKE_AUTOMOC_PATH_PREFIX`, which is ON by default.
      
      When `AUTOMOC_PATH_PREFIX` is enabled, CMake tests if a `moc`ed header file is
      in one of the include directories.  If so, then the `-p` option, with the
      relative path of the header parent directory to the respective include
      directory, is added to the `moc` command.  If the header file is not in an
      include directory, the `-p` option is omitted.
      
      Closes: #18815 "AUTOMOC: generated files include full relative path,
                      breaking certain reproducible builds"
      d018d27c
    • Nico Müller's avatar
      IAR: Add v850 support · bd5006e8
      Nico Müller authored
      Add compiler identification for V850.
      
      Issue: #17264
      bd5006e8