1. 13 Jul, 2015 1 commit
    • Brad King's avatar
      Factor an <INCLUDES> placeholder out of <FLAGS> in rule variables · c736de7b
      Brad King authored
      Teach the Makefile and Ninja generators to substitute for an <INCLUDES>
      placeholder instead of putting -I in <FLAGS>.  Update our values for
      
        CMAKE_<LANG>_COMPILE_OBJECT,
        CMAKE_<LANG>_CREATE_ASSEMBLY_SOURCE, and
        CMAKE_<LANG>_CREATE_PREPROCESSED_SOURCE
      
      to place <INCLUDES> just before <FLAGS>.
      c736de7b
  2. 17 Jul, 2014 1 commit
    • Stephen Kelly's avatar
      QNX: Add missing flags for configurations and artifact creation. · 3151024d
      Stephen Kelly authored
      Commit v3.0.0-rc1~111^2 (QNX: Introduce QCC compiler id for that
      QNX platform compiler., 2014-01-20) split handling of the QNX QCC
      compiler into a separate compiler-id.  That refactoring results in
      the QCC compiler not using the CMake-compiler-id "GNU", which means
      that the __compiler_gnu macro is no longer executed for it.
      
      Add Compiler/QCC*.cmake modules to define and call the __compiler_qcc
      macro and teach it to call __compiler_gnu internally.  Remove the
      corresponding pieces from the Platform/QNX*.cmake modules.
      
      It is also necessary to change the language conditional to dereference
      the lang macro parameter, which is another bug introduced by the
      same commit.  The extra -lang-c++ flag is only necessary when the CXX
      compiler is specified as 'qcc' instead of 'QCC' in the toolchain file,
      which is why this bug was not noticed before.  The flag is also necessary
      in that case when linking in order to find the appropriate standard
      libraries.  T...
      3151024d