mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
Merge branch 'master' into osx-CFBundle-info-plist
Resolve conflict in Source/cmOSXBundleGenerator.cxx by taking the side from 'master'.
This commit is contained in:
@@ -55,7 +55,7 @@ used in a comparison with the iterator returned by ``end()``:
|
||||
|
||||
.. code-block:: c++
|
||||
|
||||
const std::set<cmStdString>& someSet = getSet();
|
||||
const std::set<std::string>& someSet = getSet();
|
||||
if (someSet.find("needle") == someSet.end()) // Wrong
|
||||
{
|
||||
// ...
|
||||
@@ -66,8 +66,8 @@ The return value of ``find()`` must be assigned to an intermediate
|
||||
|
||||
.. code-block:: c++
|
||||
|
||||
const std::set<cmStdString>& someSet;
|
||||
const std::set<cmStdString>::const_iterator i = someSet.find("needle");
|
||||
const std::set<std::string>& someSet;
|
||||
const std::set<std::string>::const_iterator i = someSet.find("needle");
|
||||
if (i != propSet.end()) // Ok
|
||||
{
|
||||
// ...
|
||||
@@ -110,7 +110,7 @@ conversion is not allowed:
|
||||
|
||||
.. code-block:: c++
|
||||
|
||||
std::set<cmStdString> theSet;
|
||||
std::set<const char*> theSet;
|
||||
std::vector<std::string> theVector;
|
||||
theVector.insert(theVector.end(), theSet.begin(), theSet.end()); // Wrong
|
||||
|
||||
@@ -118,9 +118,9 @@ A loop must be used instead:
|
||||
|
||||
.. code-block:: c++
|
||||
|
||||
std::set<cmStdString> theSet;
|
||||
std::set<const char*> theSet;
|
||||
std::vector<std::string> theVector;
|
||||
for(std::set<cmStdString>::iterator li = theSet.begin();
|
||||
for(std::set<const char*>::iterator li = theSet.begin();
|
||||
li != theSet.end(); ++li)
|
||||
{
|
||||
theVector.push_back(*li);
|
||||
|
||||
@@ -138,6 +138,7 @@ All Modules
|
||||
/module/FindMPEG
|
||||
/module/FindMPI
|
||||
/module/FindOpenAL
|
||||
/module/FindOpenCL
|
||||
/module/FindOpenGL
|
||||
/module/FindOpenMP
|
||||
/module/FindOpenSceneGraph
|
||||
|
||||
@@ -100,6 +100,10 @@ Properties on Targets
|
||||
/prop_tgt/COMPILE_DEFINITIONS
|
||||
/prop_tgt/COMPILE_FLAGS
|
||||
/prop_tgt/COMPILE_OPTIONS
|
||||
/prop_tgt/COMPILE_PDB_NAME
|
||||
/prop_tgt/COMPILE_PDB_NAME_CONFIG
|
||||
/prop_tgt/COMPILE_PDB_OUTPUT_DIRECTORY
|
||||
/prop_tgt/COMPILE_PDB_OUTPUT_DIRECTORY_CONFIG
|
||||
/prop_tgt/CONFIG_OUTPUT_NAME
|
||||
/prop_tgt/CONFIG_POSTFIX
|
||||
/prop_tgt/DEBUG_POSTFIX
|
||||
|
||||
@@ -201,6 +201,8 @@ Variables that Control the Build
|
||||
/variable/CMAKE_AUTOUIC
|
||||
/variable/CMAKE_AUTOUIC_OPTIONS
|
||||
/variable/CMAKE_BUILD_WITH_INSTALL_RPATH
|
||||
/variable/CMAKE_COMPILE_PDB_OUTPUT_DIRECTORY
|
||||
/variable/CMAKE_COMPILE_PDB_OUTPUT_DIRECTORY_CONFIG
|
||||
/variable/CMAKE_CONFIG_POSTFIX
|
||||
/variable/CMAKE_DEBUG_POSTFIX
|
||||
/variable/CMAKE_EXE_LINKER_FLAGS_CONFIG
|
||||
|
||||
Reference in New Issue
Block a user